chore: add build linux

This commit is contained in:
2020-11-15 12:50:46 +08:00
parent ce183cc019
commit e4bf6215d1
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
# Generated by Cargo
# will have compiled files and executables
/target/
linux_target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

View File

@@ -4,5 +4,4 @@ release:
cargo b --release
release-linux:
cargo r -- build --release
cargo r -- build --release --target-dir linux_target