1
0
Fork 0
mirror of https://github.com/nachoparker/dutree synced 2024-05-12 23:56:08 +02:00
This commit is contained in:
Lucian I. Last 2022-06-29 10:44:38 +02:00 committed by GitHub
commit fbf821588e
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

9
.editorconfig Normal file
View File

@ -0,0 +1,9 @@
root = true
[*.{sh,rs,toml,md}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/target/
**/*.rs.bk
.*.swp
/dutree*

17
build.sh Executable file
View File

@ -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"