mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
Updated mac static archiver script to strip binaries.
This commit is contained in:
parent
0d42120c9c
commit
9af32e8afc
@ -7,9 +7,9 @@ if [ -z "$VERSION" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
rm bin/musikbox
|
||||
rm -rf bin/musikbox/plugins
|
||||
rm -rf bin/
|
||||
|
||||
make clean
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DLINK_STATICALLY=true .
|
||||
make -j4
|
||||
|
||||
@ -26,6 +26,9 @@ cp bin/plugins/*.dylib "$OUTPATH/plugins"
|
||||
cp bin/locales/*.json "$OUTPATH/locales"
|
||||
cp bin/themes/*.json "$OUTPATH/themes"
|
||||
|
||||
strip bin/musikbox
|
||||
strip bin/plugins/*.dylib
|
||||
|
||||
pushd bin/dist
|
||||
tar cvf musikbox_macos_static_$VERSION.tar $DIRNAME
|
||||
bzip2 musikbox_macos_static_$VERSION.tar
|
||||
|
Loading…
Reference in New Issue
Block a user