1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

make imports public in core, remove ci steps for zokrates_js

This commit is contained in:
dark64 2020-01-06 20:53:50 +01:00
parent 95b7a96a1c
commit 201d9b887e
4 changed files with 14 additions and 38 deletions

View file

@ -112,27 +112,6 @@ jobs:
- run: - run:
name: Release name: Release
command: ./scripts/release.sh command: ./scripts/release.sh
zokrates_js_build:
docker:
- image: blockchainit/rust-wasm-env:latest
steps:
- checkout
- run:
command: cd zokrates_js && npm run build
zokrates_js_test:
docker:
- image: circleci/node
steps:
- checkout
- run:
command: cd zokrates_js && npm run test
zokrates_js_publish:
docker:
- image: blockchainit/rust-wasm-env:latest
steps:
- checkout
- run:
command: cd zokrates_js && ./publish.sh
workflows: workflows:
version: 2 version: 2
build-test-and-deploy: build-test-and-deploy:
@ -141,8 +120,6 @@ workflows:
- test - test
- wasm_test - wasm_test
- integration_test - integration_test
- zokrates_js_build
- zokrates_js_test
- deploy: - deploy:
filters: filters:
branches: branches:
@ -152,13 +129,4 @@ workflows:
- build - build
- test - test
- wasm_test - wasm_test
- integration_test - integration_test
- zokrates_js_build
- zokrates_js_test
- zokrates_js_publish:
filters:
branches:
only:
- master
requires:
- deploy

View file

@ -28,7 +28,7 @@ extern crate zokrates_pest_ast;
mod embed; mod embed;
mod flatten; mod flatten;
mod imports; pub mod imports;
mod optimizer; mod optimizer;
mod parser; mod parser;
mod semantics; mod semantics;

View file

@ -0,0 +1,8 @@
pkg/
node_modules/
target/
npm-debug.log
.git
.gitignore
.vscode
.idea

View file

@ -933,13 +933,13 @@ dependencies = [
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)",
"zokrates_core 0.4.0", "zokrates_core 0.4.1",
"zokrates_field 0.3.4", "zokrates_field 0.3.4",
] ]
[[package]] [[package]]
name = "zokrates_core" name = "zokrates_core"
version = "0.4.0" version = "0.4.1"
dependencies = [ dependencies = [
"bellman_ce 0.3.1 (git+https://github.com/matter-labs/bellman)", "bellman_ce 0.3.1 (git+https://github.com/matter-labs/bellman)",
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -988,7 +988,7 @@ dependencies = [
[[package]] [[package]]
name = "zokrates_js" name = "zokrates_js"
version = "1.0.18" version = "1.0.19"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"console_error_panic_hook 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "console_error_panic_hook 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
@ -996,7 +996,7 @@ dependencies = [
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"wasm-bindgen 0.2.56 (registry+https://github.com/rust-lang/crates.io-index)", "wasm-bindgen 0.2.56 (registry+https://github.com/rust-lang/crates.io-index)",
"zokrates_abi 0.1.0", "zokrates_abi 0.1.0",
"zokrates_core 0.4.0", "zokrates_core 0.4.1",
"zokrates_field 0.3.4", "zokrates_field 0.3.4",
] ]