diff --git a/ci/Makefile b/ci/Makefile index 69370a9..044d456 100644 --- a/ci/Makefile +++ b/ci/Makefile @@ -1,14 +1,20 @@ +echo executing makefile + all: install build-wasm build-web build-wasm: + echo building wasm: wasm-pack build --out-dir ../../demo/pkg/zkif-wasm-zokrates/ ../zkif-wasm-bundles/zkif-wasm-zokrates wasm-pack build --out-dir ../../demo/pkg/zkif-wasm-bulletproofs/ ../zkif-wasm-bundles/zkif-wasm-bulletproofs build-web: + echo build-web: cd ../demo && npm run build install: + echo install: cd ../demo && npm install web-dev: + echo web-dev: cd ../demo && npm run start diff --git a/ci/script.sh b/ci/script.sh index 7bca7e8..b5adcfb 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -4,16 +4,19 @@ set +x echo executing scripit.sh +echo processing bulletproof: checks & tests cd ./zkif-wasm-bundles/zkif-wasm-bulletproofs/ cargo +nightly-2019-06-22 fmt -- --check cargo +nightly-2019-06-22 clippy -- -D warnings cargo +nightly-2019-06-22 test +echo processing zk-interface wasm example: checks & tests cd ../zkif-wasm-example cargo +nightly-2019-06-22 fmt -- --check cargo +nightly-2019-06-22 clippy -- -D warnings cargo +nightly-2019-06-22 test +echo processing zokrates: checks & tests cd ../zkif-wasm-zokrates cargo +nightly-2019-06-22 fmt -- --check cargo +nightly-2019-06-22 clippy -- -D warnings @@ -22,5 +25,5 @@ cargo +nightly-2019-06-22 test cd ../../ci make cd ../demo -npm install -npm run build \ No newline at end of file +#npm install +#npm run build diff --git a/demo/index.html b/demo/index.html index 39044fb..da50c16 100644 --- a/demo/index.html +++ b/demo/index.html @@ -9,7 +9,14 @@ + +