diff options
Diffstat (limited to 'rust/build_tarball.sh')
-rwxr-xr-x | rust/build_tarball.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rust/build_tarball.sh b/rust/build_tarball.sh new file mode 100755 index 00000000..9eed2566 --- /dev/null +++ b/rust/build_tarball.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -e -u -o pipefail + +cargo build --release +mkdir -p ./bin/ +cp target/release/{fatcatd,fatcat-auth,fatcat-export} bin + +rm -f fatcat-rust.tar.gz +tar czf fatcat-rust.tar.gz bin migrations README.md example.env |