Tidy up scripts a bit and add 'set -ev' to make them more robust

This commit is contained in:
baldurk
2017-01-04 14:26:32 +00:00
parent d2396ad854
commit 168b742653
6 changed files with 27 additions and 4 deletions
+4 -1
View File
@@ -1,2 +1,5 @@
#!/bin/sh
cd docs/ && make html
set -ev
cd docs/
make html
+3 -1
View File
@@ -1,3 +1,5 @@
#!//bin/sh
#!/bin/sh
set -ev
pip install --upgrade pip setuptools
pip install Sphinx sphinx-rtd-theme
+11 -1
View File
@@ -1,3 +1,13 @@
#!/bin/sh
# ignore "error" codes in the env script below
set +e
. /opt/qt56/bin/qt56-env.sh
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make
set -e
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
+3
View File
@@ -1,8 +1,11 @@
#!/bin/sh
set -ev
sudo add-apt-repository -y 'ppa:ubuntu-toolchain-r/test'
sudo add-apt-repository -y 'ppa:beineri/opt-qt562-trusty'
sudo add-apt-repository -y 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.8 main'
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update -qq
sudo apt-get install --allow-unauthenticated -y -qq libx11-dev mesa-common-dev libgl1-mesa-dev qt56base qt56x11extras libxcb-keysyms1-dev gdb clang-format-3.8
clang-format-3.8 -i -style=file $(find pdblocate/ qrenderdoc/ renderdoc/ renderdoccmd/ renderdocshim/ -type f -regex '.*\(/3rdparty/\|/official/\|resource.h\).*' -prune -o -regex '.*\.\(c\|cpp\|h\)$' -print)
+5 -1
View File
@@ -1,2 +1,6 @@
#!/bin/sh
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
+1
View File
@@ -1,3 +1,4 @@
#!/bin/sh
brew install qt5
brew link qt5 --force