aboutsummaryrefslogtreecommitdiffstats
path: root/rust/build_tarball.sh
blob: 9eed25666c9aff09224ff8e2b567c77c874fa36f (plain)
1
2
3
4
5
6
7
8
9
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