mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-19 07:11:55 +03:00
19 lines
596 B
Bash
19 lines
596 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This is temporary while https://github.com/rust-lang/cargo/issues/7004 is open
|
||
|
|
||
|
echo "Building zellij-tile (1/5)..."
|
||
|
cd zellij-tile
|
||
|
cargo build --release
|
||
|
echo "Building status-bar (2/5)..."
|
||
|
cd ../default-tiles/status-bar
|
||
|
cargo build --release
|
||
|
echo "Building strider (3/5)..."
|
||
|
cd ../strider
|
||
|
cargo build --release
|
||
|
echo "Optimising WASM executables (4/5)..."
|
||
|
cd ../..
|
||
|
wasm-opt -O target/wasm32-wasi/release/status-bar.wasm -o assets/plugins/status-bar.wasm
|
||
|
wasm-opt -O target/wasm32-wasi/release/strider.wasm -o assets/plugins/strider.wasm
|
||
|
echo "Building zellij (5/5)..."
|
||
|
cargo build $@
|