Skip to content

Commit

Permalink
Restructured the scripts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Nov 5, 2019
1 parent e835277 commit de3a6f4
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions picard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions scripts/package-osx.sh → scripts/package/package-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit de3a6f4

Please sign in to comment.