Skip to content

Commit

Permalink
Added publish scripts that automates precompiling
Browse files Browse the repository at this point in the history
  • Loading branch information
SoptikHa2 committed Apr 23, 2020
1 parent 0309a5b commit d54798c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -euo pipefail

cargo publish
cargo build --release --target x86_64-unknown-linux-musl
mv target/x86_64-unknown-linux-musl/release/desed target/x86_64-unknown-linux-musl/release/desed-x86_64-unknown-linux-musl
strip target/x86_64-unknown-linux-musl/release/desed-x86_64-unknown-linux-musl
echo "Binary ready"

0 comments on commit d54798c

Please sign in to comment.