From d19afd856b1f969a733686e056f946b352be70c2 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Fri, 16 Dec 2016 19:00:25 -0600 Subject: [PATCH] allow skipping of some time consuming parts of the build --- packaging/osx/lbry-osx-app/setup_app.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/packaging/osx/lbry-osx-app/setup_app.sh b/packaging/osx/lbry-osx-app/setup_app.sh index 13a2d7829..447ad8302 100755 --- a/packaging/osx/lbry-osx-app/setup_app.sh +++ b/packaging/osx/lbry-osx-app/setup_app.sh @@ -59,8 +59,11 @@ pip install -r requirements.txt # not totally sure if pyOpenSSl is needed (JIE) pip install pyOpenSSL -pip install pylint -./run_pylint.sh packaging/osx/lbry-osx-app/lbrygui/ + +if [ -z ${SKIP_PYLINT+x} ]; then + pip install pylint + ./run_pylint.sh packaging/osx/lbry-osx-app/lbrygui/ +fi python setup.py install @@ -104,5 +107,8 @@ codesign -vvvv "${DEST}/dist/LBRY.app" rm -rf $tmp mv dist/LBRY.app LBRY.app -rm -rf dist "${NAME}.${VERSION}.dmg" -dmgbuild -s dmg_settings.py "LBRY" "${NAME}.${VERSION}.dmg" + +if [ -z ${SKIP_SMG+x} ]; then + rm -rf dist "${NAME}.${VERSION}.dmg" + dmgbuild -s dmg_settings.py "LBRY" "${NAME}.${VERSION}.dmg" +fi