mirror of
https://github.com/nachoparker/dutree
synced 2024-05-11 23:46:06 +02:00
Add build script to build
target include ARMv7 ARM64 x86_64
This commit is contained in:
parent
44e877d148
commit
f9249d0968
|
@ -1,3 +1,4 @@
|
|||
/target/
|
||||
**/*.rs.bk
|
||||
.*.swp
|
||||
/dutree*
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
cargo install cross
|
||||
|
||||
echo "Building... Linux ARM64"
|
||||
cross build --release --target aarch64-unknown-linux-gnu
|
||||
mv target/aarch64-unknown-linux-gnu/release/dutree ./dutree_linux_arm64
|
||||
|
||||
echo "Building... Linux ARMv7"
|
||||
cross build --release --target armv7-unknown-linux-gnueabihf
|
||||
mv target/armv7-unknown-linux-gnueabihf/release/dutree ./dutree_linux_arm7
|
||||
|
||||
echo "Building... Linux x86_64"
|
||||
cross build --release --target x86_64-unknown-linux-gnu
|
||||
mv target/x86_64-unknown-linux-gnu/release/dutree ./dutree_linux_x86_64
|
||||
|
||||
echo "Done"
|
Loading…
Reference in New Issue