mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-14 13:21:13 +00:00
Move bash scripts into the 'script' subdirectory.
This commit is contained in:
parent
4ff1a0a464
commit
f5b05328be
@ -3,13 +3,15 @@
|
||||
VERSION=$1
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "usage: ./archive-macos.sh <version>"
|
||||
echo "usage: archive-macos.sh <version>"
|
||||
exit
|
||||
fi
|
||||
|
||||
SCRIPTDIR=`dirname "$0"`
|
||||
|
||||
rm -rf bin/
|
||||
|
||||
./clean-nix.sh
|
||||
${SCRIPTDIR}/clean-nix.sh
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DLINK_STATICALLY=true -DFFMPEG_ENABLED=false .
|
||||
make -j7
|
||||
|
@ -1,7 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT_DIR=`dirname "$0"`
|
||||
|
||||
rm -rf bin
|
||||
./clean-nix.sh
|
||||
${SCRIPT_DIR}/clean-nix.sh
|
||||
cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=armhf -DDEB_PLATFORM=rpi -DDEB_DISTRO=buster -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
||||
make -j2
|
||||
cpack
|
2
archive-win.sh → script/archive-win.sh
Normal file → Executable file
2
archive-win.sh → script/archive-win.sh
Normal file → Executable file
@ -3,7 +3,7 @@
|
||||
VERSION=$1
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "usage: ./archive-win.sh <version>"
|
||||
echo "usage: archive-win.sh <version>"
|
||||
exit
|
||||
fi
|
||||
|
@ -3,3 +3,4 @@ make clean 2> /dev/null
|
||||
rm -rf bin
|
||||
find . -name CMakeCache.txt -delete
|
||||
find . -name CMakeFiles -type d -exec rm -rf "{}" \; 2> /dev/null
|
||||
rm -f Makefile
|
@ -5,7 +5,7 @@ MINOR=$2
|
||||
PATCH=$3
|
||||
|
||||
if [ -z "$MAJOR" ] || [ -z "$MINOR" ] || [ -z "$PATCH" ]; then
|
||||
echo "usage: ./update-version.sh <major> <minor> <patch>"
|
||||
echo "usage: update-version.sh <major> <minor> <patch>"
|
||||
exit
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user