Skip to content

Commit

Permalink
Update for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ytham committed Jan 17, 2024
1 parent 8299fcf commit 18c9c97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions halo2-lib-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@axiom-crypto/halo2-wasm": "0.2.13-rc2.0",
"@axiom-crypto/halo2-wasm": "link:../halo2-wasm/pkg",
"ethers": "^6.8.0",
"prettier": "1.18.2"
},
"publishConfig": {
"directory": "dist"
}
}
}
9 changes: 5 additions & 4 deletions scripts/toggleLocal.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#!/bin/bash

CI=""
PKGMGR="pnpm"
if [ "$1" = "ci" ]; then
CI="ci"
PKGMGR="npm"
fi
echo $CI

./scripts/build.sh
cd halo2-lib-js
node ./scripts/toggleLocal.js $CI
pnpm install
$PKGMGR install
cd ../halo2-repl
node ./scripts/toggleLocal.js $CI
pnpm install
$PKGMGR install
cd ../cli
node ./scripts/toggleLocal.js $CI
pnpm install
$PKGMGR install

0 comments on commit 18c9c97

Please sign in to comment.