mirror of
https://github.com/fergalmoran/picard.git
synced 2026-05-24 20:06:10 +00:00
Restructured the scripts folder
This commit is contained in:
@@ -81,12 +81,12 @@ before_cache:
|
||||
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then find /usr/local/Homebrew \! -regex ".+\.git.+" -delete; fi
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash scripts/setup-osx.sh; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash scripts/package/setup-osx.sh; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source bin/activate; fi
|
||||
- "$INSTALL_DEPS"
|
||||
- "$INSTALL_TEST_TOOLS"
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash scripts/package-osx.sh; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash scripts/package/package-osx.sh; fi
|
||||
|
||||
script:
|
||||
- py.test -v --cov=picard --cov-report xml:coverage.xml test
|
||||
|
||||
@@ -77,9 +77,9 @@ if os.path.isfile(fpcalc_name):
|
||||
|
||||
runtime_hooks = []
|
||||
if sys.platform == 'win32':
|
||||
runtime_hooks.append('scripts/picard-winconsole-hook.py')
|
||||
runtime_hooks.append('scripts/pyinstaller/picard-winconsole-hook.py')
|
||||
if '--onefile' in sys.argv:
|
||||
runtime_hooks.append('scripts/picard-portable-hook.py')
|
||||
runtime_hooks.append('scripts/pyinstaller/picard-portable-hook.py')
|
||||
|
||||
|
||||
a = Analysis(['tagger.py'],
|
||||
|
||||
@@ -17,13 +17,13 @@ CODESIGN=0
|
||||
KEYCHAIN_PATH=picard.keychain
|
||||
KEYCHAIN_PASSWORD=picard
|
||||
CERTIFICATE_NAME="Developer ID Application: MetaBrainz Foundation Inc."
|
||||
CERTIFICATE_FILE=scripts/appledev.p12
|
||||
CERTIFICATE_FILE=scripts/package/appledev.p12
|
||||
|
||||
if [ -n "$encrypted_be5fb2212036_key" ] && [ -n "$encrypted_be5fb2212036_iv" ]; then
|
||||
openssl aes-256-cbc -K "$encrypted_be5fb2212036_key" -iv "$encrypted_be5fb2212036_iv" -in scripts/appledev.p12.enc -out $CERTIFICATE_FILE -d
|
||||
openssl aes-256-cbc -K "$encrypted_be5fb2212036_key" -iv "$encrypted_be5fb2212036_iv" -in scripts/package/appledev.p12.enc -out $CERTIFICATE_FILE -d
|
||||
fi
|
||||
|
||||
if [ -f scripts/appledev.p12 ] && [ -n "$appledev_p12_password" ]; then
|
||||
if [ -f scripts/package/appledev.p12 ] && [ -n "$appledev_p12_password" ]; then
|
||||
security create-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH
|
||||
security unlock-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH
|
||||
security list-keychains -d user -s $KEYCHAIN_PATH
|
||||
Reference in New Issue
Block a user