Skip to content

Commit d54798c

Browse files
committed
Added publish scripts that automates precompiling
1 parent 0309a5b commit d54798c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

publish.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
cargo publish
5+
cargo build --release --target x86_64-unknown-linux-musl
6+
mv target/x86_64-unknown-linux-musl/release/desed target/x86_64-unknown-linux-musl/release/desed-x86_64-unknown-linux-musl
7+
strip target/x86_64-unknown-linux-musl/release/desed-x86_64-unknown-linux-musl
8+
echo "Binary ready"

0 commit comments

Comments
 (0)