mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
56 lines
1.5 KiB
Bash
Executable File
56 lines
1.5 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This bash script builds everyting on an TravisCI Mac OSx worker
|
|
|
|
# See:
|
|
# https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images
|
|
# For details on obtaining/using the correct ruby version for homebrew.
|
|
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
echo "-------------------------------------------------"
|
|
brew tap pdf2htmlEX/homebrew-brewTap
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
echo "-------------------------------------------------"
|
|
brew update
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
echo "-------------------------------------------------"
|
|
brew install -v python@2
|
|
brew install jq
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version')
|
|
echo $python2Version
|
|
echo "-------------------------------------------------"
|
|
brew info python@2
|
|
brew switch python $python2Version
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
which python
|
|
python --version
|
|
echo "-------------------------------------------------"
|
|
#brew install -v pdf2htmlex-new
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
echo "-------------------------------------------------"
|