File tree Expand file tree Collapse file tree 3 files changed +12
-18
lines changed
Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 5252build :
5353 FROM +builder-src
5454
55- RUN --no-cache echo "Cache Disabled"
56- RUN cargo clean
57-
5855 DO rust-ci+EXECUTE \
5956 --cmd = "/scripts/std_build.py" \
6057 --args1 = "--libs=c509-certificate --libs=cardano-blockchain-types --libs=cardano-chain-follower --libs=hermes-ipfs" \
7067 SAVE ARTIFACT target/doc doc
7168 SAVE ARTIFACT target/release/cbork cbork
7269
73- RUN ls -la ~/build/target/release
74- RUN ls -la /tmp/earthly/
75-
7670# build-src-check: Check for any caching issues with the source we are building against.
7771check-builder-src-cache :
7872 FROM +builder
Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ IMPORT ../.. AS repo
1313# - Create a publish target which can publish the library to NPM for both Web and NodeJS.
1414# - Create a simple example web app and nodejs app which uses the library, and can be used to
1515# test it after publishing.
16- # build-wasm:
17- # FROM rust-local+build
16+ build-wasm :
17+ FROM rust-local+build
1818
19- # COPY repo+repo-docs/repo/LICENSE-APACHE c509-certificate/.
20- # COPY repo+repo-docs/repo/LICENSE-MIT c509-certificate/.
19+ COPY repo+repo-docs/repo/LICENSE-APACHE c509-certificate/.
20+ COPY repo+repo-docs/repo/LICENSE-MIT c509-certificate/.
2121
22- # # We should be able to use the library in all these places, so build it for them all.
23- # FOR target IN web nodejs bundler
24- # RUN wasm-pack build c509-certificate --release --target "$target" --out-dir "pkg/$target"
25- # END
22+ # We should be able to use the library in all these places, so build it for them all.
23+ FOR target IN web nodejs bundler
24+ RUN wasm-pack build c509-certificate --release --target "$target" --out-dir "pkg/$target"
25+ END
2626
27- # SAVE ARTIFACT ./c509-certificate/pkg /pkg
27+ SAVE ARTIFACT ./c509-certificate/pkg /pkg
2828
2929# js-wasm-package-locally : Generate the wasm package and save it locally
3030js-wasm-package-locally :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ IMPORT .. AS rust-local
77
88# Run build using the most efficient host tooling
99# CI Automated Entry point.
10- # build:
11- # FROM rust-local+build
10+ build :
11+ FROM rust-local+build
1212
13- # SAVE ARTIFACT target/release/cbork cbork
13+ SAVE ARTIFACT target/release/cbork cbork
You can’t perform that action at this time.
0 commit comments