Skip to content

Commit

Permalink
make circuit compiling locally on commit since its a rust package and…
Browse files Browse the repository at this point in the history
… cant be run in ci
  • Loading branch information
kibagateaux committed Jan 29, 2025
1 parent 2722c21 commit 9445724
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# dependencies
node_modules/

# build artifacts
src/circuits/*_js/

# Expo
.expo/
dist/
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
npm run compile:zk
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"compile:zk": "circom ./src/circuits/circle.circom --verbose --wasm --json -l node_modules -o ./src/circuits/; mv ./src/circuits/circle_constraints.json ./src/circuits/circle_js/ ",
"postinstall": "patch-package && rn-nodeify --install all --hack",
"android": "expo run:android --variant developmentDebug -d",
"prebuild": "npm run compile:zk",
"build:web": "npm run prebuild; expo export -p web",
"build:web": "expo export -p web",
"build:android": "eas build -p android",
"start": "APP_VARIANT=development npx expo start --dev-client --android -d",
"install:android": "source .env && npx eas build --local --platform android -e $APP_VARIANT --output app.apk; adb install ./app.apk",
Expand Down

0 comments on commit 9445724

Please sign in to comment.