mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
70 lines
1.9 KiB
Bash
Executable File
70 lines
1.9 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 llvm
|
|
#brew install -v python@2
|
|
#brew install jq
|
|
echo "-------------------------------------------------"
|
|
echo $PATH
|
|
echo $LDFLAGS
|
|
echo $CPPFLAGS
|
|
which clang
|
|
#export llvmVersion=$(brew info --json=v1 llvm | jq '.[].installed[].version' | tr -d '"')
|
|
echo $llvmVersion
|
|
#export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"')
|
|
echo $python2Version
|
|
echo "-------------------------------------------------"
|
|
#brew info llvm
|
|
#brew switch llvm $llvmVersion
|
|
#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 "-------------------------------------------------"
|