mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix scripts that ended with && and correct the ASSETS variable for tests
This commit is contained in:
parent
423b87316e
commit
26d32d1273
@ -3,4 +3,5 @@ echo "modifying files in 5s, ctrl+c to abort" && sleep 5
|
|||||||
find ./* -name "Cargo.toml" -exec sed -i 's/, "simd"]/]/g' {} \;
|
find ./* -name "Cargo.toml" -exec sed -i 's/, "simd"]/]/g' {} \;
|
||||||
find ./* -name "Cargo.toml" -exec sed -i 's/"simd"]/]/g' {} \;
|
find ./* -name "Cargo.toml" -exec sed -i 's/"simd"]/]/g' {} \;
|
||||||
sed -i 's/vek /#vek /g' ./Cargo.toml;
|
sed -i 's/vek /#vek /g' ./Cargo.toml;
|
||||||
|
export VELOREN_ASSETS="$(pwd)/assets";
|
||||||
time cargo tarpaulin --skip-clean -v -- --test-threads=2;
|
time cargo tarpaulin --skip-clean -v -- --test-threads=2;
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export VELOREN_USERDATA_STRATEGY=executable
|
export VELOREN_USERDATA_STRATEGY=executable
|
||||||
time cargo build --release --no-default-features --features default-publish &&
|
time cargo build --release --no-default-features --features default-publish
|
||||||
# eveluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
# eveluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
@ -2,4 +2,4 @@
|
|||||||
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
||||||
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
||||||
export VELOREN_USERDATA_STRATEGY=executable
|
export VELOREN_USERDATA_STRATEGY=executable
|
||||||
time cargo build --target=x86_64-pc-windows-gnu --release --no-default-features --features default-publish &&
|
time cargo build --target=x86_64-pc-windows-gnu --release --no-default-features --features default-publish
|
Loading…
Reference in New Issue
Block a user