Michał Janiszewski 839913
#!/bin/bash
Shinya Kitaoka 6fa9ac
pushd toonz/sources
Shinya Kitaoka 6fa9ac
clang-format --version
Shinya Kitaoka 6fa9ac
git ls-files | egrep \\.\(c\|cpp\|h\|hpp\)$ | xargs clang-format -i && git diff --exit-code || exit 1
Shinya Kitaoka 6fa9ac
popd
Michał Janiszewski 839913
pushd thirdparty/tiff-4.0.3
Michał Janiszewski 839913
./configure && make
Michał Janiszewski 839913
popd
Michał Janiszewski 839913
cd toonz && mkdir build && cd build
Michał Janiszewski 839913
cmake ../sources \
Michał Janiszewski 839913
      -DQT_PATH=/usr/local/Cellar/qt55/5.5.1/lib/ \
Michał Janiszewski 839913
      -DTIFF_INCLUDE_DIR=../../thirdparty/tiff-4.0.3/libtiff/ \
Michał Janiszewski 839913
      -DSUPERLU_INCLUDE_DIR=../../thirdparty/superlu/SuperLU_4.1/include/
Michał Janiszewski 839913
make