diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-03-09 21:51:17 +0000 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-03-09 21:51:17 +0000 |
| commit | e9ab81850e61b9b5e9c1f25d79cafd8378bda600 (patch) | |
| tree | 0e73c8c2ea64594d84da2d7cdb086734a20634b5 /build-all.sh | |
| parent | Deduplicate the WASM interface structs (diff) | |
| download | sl0ppij-e9ab81850e61b9b5e9c1f25d79cafd8378bda600.tar.gz sl0ppij-e9ab81850e61b9b5e9c1f25d79cafd8378bda600.tar.xz sl0ppij-e9ab81850e61b9b5e9c1f25d79cafd8378bda600.zip | |
Add event subscription tracking
Diffstat (limited to 'build-all.sh')
| -rwxr-xr-x | build-all.sh | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/build-all.sh b/build-all.sh index df8e6978..f267b110 100755 --- a/build-all.sh +++ b/build-all.sh @@ -1,29 +1,25 @@ #!/bin/sh -total=6 +total=5 # This is temporary while https://github.com/rust-lang/cargo/issues/7004 is open -echo "Building zellij-tile (1/$total)..." -cd zellij-tile +echo "Building status-bar (1/$total)..." +cd default-tiles/status-bar cargo build --release --target-dir ../../target -echo "Building status-bar (2/$total)..." -cd ../default-tiles/status-bar -cargo build --release --target-dir ../../target - -echo "Building strider (3/$total)..." +echo "Building strider (2/$total)..." cd ../strider cargo build --release --target-dir ../../target -echo "Building tab-bar (4/$total)..." +echo "Building tab-bar (3/$total)..." cd ../tab-bar cargo build --release --target-dir ../../target -echo "Optimising WASM executables (5/$total)..." +echo "Optimising WASM executables (4/$total)..." cd ../.. wasm-opt -O target/wasm32-wasi/release/status-bar.wasm -o target/status-bar.wasm || cp target/wasm32-wasi/release/status-bar.wasm target/status-bar.wasm wasm-opt -O target/wasm32-wasi/release/strider.wasm -o target/strider.wasm || cp target/wasm32-wasi/release/strider.wasm target/strider.wasm wasm-opt -O target/wasm32-wasi/release/tab-bar.wasm -o target/tab-bar.wasm || cp target/wasm32-wasi/release/tab-bar.wasm target/tab-bar.wasm -echo "Building zellij (6/$total)..." +echo "Building zellij (5/$total)..." cargo build --target-dir target $@ |
