-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6a98e3
commit 1e427e2
Showing
6 changed files
with
38 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#! /bin/bash -e | ||
|
||
# Disable shell debug output | ||
set +x | ||
|
||
PLUGIN="utilities" | ||
|
||
ROOT=$(cd "$(dirname "$0")/.."; pwd) | ||
cd "$ROOT" | ||
|
||
# Check the first argument for build type | ||
if [ "$1" == "debug" ]; then | ||
BUILD_TYPE="Debug" | ||
elif [ "$1" == "release" ]; then | ||
BUILD_TYPE="Release" | ||
else | ||
echo "Invalid argument. Please specify 'debug' or 'release'." | ||
exit 1 | ||
fi | ||
|
||
# Make folder for built plugins | ||
cd "$ROOT/ci_cd" | ||
rm -Rf bin | ||
mkdir bin | ||
|
||
# Build plugin | ||
cd "$ROOT/build" | ||
./build.sh $1 | ||
|
||
# Copy plugin builds to dedicated folder | ||
cp -R "$ROOT/build/${PLUGIN}_artefacts/$BUILD_TYPE/AU/$PLUGIN.component" "$ROOT/ci_cd/bin" | ||
cp -R "$ROOT/build/${PLUGIN}_artefacts/$BUILD_TYPE/VST3/$PLUGIN.vst3" "$ROOT/ci_cd/bin" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.