Browse Source

Add script to setup in-source juce repo

tags/2020-12-27
falkTX 3 years ago
parent
commit
e208e1703b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      scripts/setup-juce-repos.sh

+ 30
- 0
scripts/setup-juce-repos.sh View File

@@ -0,0 +1,30 @@
#!/bin/bash

set -e

if [ ! -f meson.build ]; then
echo "run from top dir"
exit 1
fi

# legacy/compat repo
pushd libs/juce-legacy

if [ -d source ]; then
mv source source.bak
fi

git clone git@github.com:DISTRHO/juce.git -b distrho-ports-compat source

popd

# main/juce6 repo
pushd libs/juce-current

if [ -d source ]; then
mv source source.bak
fi

git clone git@github.com:DISTRHO/juce.git -b main source

popd

Loading…
Cancel
Save