mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
65 lines
1.7 KiB
Bash
Executable File
65 lines
1.7 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' | tr -d '"')
|
|
echo $python2Version
|
|
echo "-------------------------------------------------"
|
|
brew info python@2
|
|
brew switch python@2 $python2Version
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
ls -la $(which clang)
|
|
which python
|
|
ls -la $(which python)
|
|
python --version
|
|
echo "-------------------------------------------------"
|
|
brew install -v pdf2htmlex-new
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
ls -la $(which clang)
|
|
which python
|
|
ls -la $(which python)
|
|
python --version
|
|
which pdf2htmlEX
|
|
ls -la $(which pdf2htmlEX)
|
|
pdf2htmlEX --version
|
|
echo "-------------------------------------------------"
|