strip binary before packing (#533)
reduce by 35-40% size of binaries and archive
This commit is contained in:
parent
6bb4f8514f
commit
6acb962e72
|
@ -2,4 +2,5 @@
|
||||||
mkdir bin
|
mkdir bin
|
||||||
cp target/release/{plume,plm} bin
|
cp target/release/{plume,plm} bin
|
||||||
cp "$(which diesel)" bin
|
cp "$(which diesel)" bin
|
||||||
|
strip -s bin/*
|
||||||
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
|
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
|
||||||
|
|
Loading…
Reference in New Issue