mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Yet more build script improvements
(cherry picked from commit 007db4cd2d
)
This commit is contained in:
parent
77626e6375
commit
39a06d67fa
1 changed files with 7 additions and 7 deletions
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# ensure the submodules are up to date
|
# ensure the submodules are up to date
|
||||||
git submodule init
|
git submodule init &&
|
||||||
git submodule update
|
git submodule update &&
|
||||||
|
|
||||||
# begin vendoring cargo dependencies
|
# begin vendoring cargo dependencies
|
||||||
cd external/libphysis
|
cd external/libphysis &&
|
||||||
cargo vendor-filterer --platform=x86_64-unknown-linux-gnu ../../cargo-vendored
|
cargo vendor-filterer --platform=x86_64-unknown-linux-gnu ../../cargo-vendored &&
|
||||||
mkdir .cargo
|
mkdir .cargo &&
|
||||||
cp ../../scripts/config.toml .cargo/config.toml
|
cp ../../scripts/config.toml .cargo/config.toml &&
|
||||||
cd ../../
|
cd ../../ &&
|
||||||
|
|
||||||
tar --exclude='cmake-build*' --exclude='.idea' --exclude='.clang-format' --exclude='astra-source.tar.gz' --exclude-vcs -zcvf ../astra-source.tar.gz .
|
tar --exclude='cmake-build*' --exclude='.idea' --exclude='.clang-format' --exclude='astra-source.tar.gz' --exclude-vcs -zcvf ../astra-source.tar.gz .
|
||||||
|
|
Loading…
Add table
Reference in a new issue