-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (30 loc) · 918 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cargo = $(env) cargo
debug:
RUSTUP_TOOLCHAIN="nightly-2022-11-03" $(cargo) -Z unstable-options \
build \
--workspace \
--exclude 'shared' \
--exclude 'e2e_tests' \
--target wasm32-unknown-unknown \
--target-dir build/cache/wasm32-unknown-unknown \
--out-dir build/debug/
release:
RUSTUP_TOOLCHAIN="nightly-2022-11-03" $(cargo) -Z unstable-options \
build \
--workspace \
--exclude 'shared' \
--exclude 'e2e_tests' \
--release \
--target wasm32-unknown-unknown \
--target-dir build/cache/wasm32-unknown-unknown \
--out-dir build/release/
e2e-test-binaries:
RUSTUP_TOOLCHAIN="nightly-2022-11-03" $(cargo) -Z unstable-options \
build \
--target x86_64-unknown-linux-musl \
--target-dir build/cache/x86_64-unknown-linux-musl \
--package 'e2e_tests' \
--out-dir build/tests
docker: debug e2e-test-binaries
docker compose build
.PHONY : debug release docker