worlds-history-sim-rs/build_all.sh.ps1

26 lines
1.3 KiB
PowerShell
Raw Normal View History

#!/bin/env /bin/sh
2022-11-06 17:07:21 +01:00
echo "Debug-build features: minimal"
cargo build --no-default-features --features= &&
2022-11-06 17:07:21 +01:00
echo "Debug-build features: logging" &&
cargo build --no-default-features --features=logging &&
2022-11-06 17:07:21 +01:00
echo "Debug-build features: render" &&
cargo build --no-default-features --features=render &&
2022-11-06 17:07:21 +01:00
echo "Debug-build features: logging,render" &&
cargo build --no-default-features --features=logging,render &&
2022-11-06 17:07:21 +01:00
echo "Debug-build features: globe_view" &&
cargo build --no-default-features --features=globe_view &&
2022-11-06 17:07:21 +01:00
echo "Debug-build features: logging,globe_view" &&
cargo build --no-default-features --features=logging,globe_view &&
2022-11-06 17:07:21 +01:00
echo "Release-build features: minimal"
cargo build --release --no-default-features --features= &&
2022-11-06 17:07:21 +01:00
echo "Release-build features: logging" &&
cargo build --release --no-default-features --features=logging &&
2022-11-06 17:07:21 +01:00
echo "Release-build features: render" &&
cargo build --release --no-default-features --features=render &&
2022-11-06 17:07:21 +01:00
echo "Release-build features: logging,render" &&
cargo build --release --no-default-features --features=logging,render &&
2022-11-06 17:07:21 +01:00
echo "Release-build features: globe_view" &&
cargo build --release --no-default-features --features=globe_view &&
2022-11-06 17:07:21 +01:00
echo "Release-build features: logging,globe_view" &&
cargo build --release --no-default-features --features=logging,globe_view &&
echo "Done!"