-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpack-jack2-version.sh
executable file
·33 lines (22 loc) · 1.05 KB
/
pack-jack2-version.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
export JACK2_VERSION=v1.9.22
export JACK_EXAMPLE_TOOLS_VERSION=4b0b16a709475cf4a084e04a0849898a8421b636
export QJACKCTL_VERSION=0.9.9
set -e
cd $(dirname ${0})
# ---------------------------------------------------------------------------------------------------------------------
target="${1}"
if [ -z "${target}" ]; then
echo "usage: ${0} <target>"
exit 1
fi
# ---------------------------------------------------------------------------------------------------------------------
# clean builds
rm -rf ~/PawPawBuilds/builds/*/jack-router-*
rm -rf ~/PawPawBuilds/builds/*/jack2-${JACK2_VERSION}
rm -rf ~/PawPawBuilds/builds/*/jack-example-tools-${JACK_EXAMPLE_TOOLS_VERSION}
rm -rf ~/PawPawBuilds/builds/*/qjackctl-${QJACKCTL_VERSION}
# ---------------------------------------------------------------------------------------------------------------------
./PawPaw/build-jack2.sh ${target}
./PawPaw/pack-jack2.sh ${target}
# ---------------------------------------------------------------------------------------------------------------------