mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Tidy up scripts a bit and add 'set -ev' to make them more robust
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
#!/bin/sh
|
||||
cd docs/ && make html
|
||||
set -ev
|
||||
|
||||
cd docs/
|
||||
make html
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!//bin/sh
|
||||
#!/bin/sh
|
||||
set -ev
|
||||
|
||||
pip install --upgrade pip setuptools
|
||||
pip install Sphinx sphinx-rtd-theme
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
brew install qt5
|
||||
brew link qt5 --force
|
||||
|
||||
Reference in New Issue
Block a user