mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
34 lines
No EOL
586 B
Bash
34 lines
No EOL
586 B
Bash
set -x
|
|
|
|
brew install cmake
|
|
brew install pyenv
|
|
brew install asciidoctor
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$( pyenv init --path )"
|
|
pyenv install 3.10.0
|
|
pyenv global 3.10.0
|
|
pip install --upgrade pip
|
|
pip install python-dateutil
|
|
|
|
git clean -dfx
|
|
git submodule init
|
|
git submodule update
|
|
cmake -DCMAKE_BUILD_TYPE=debug .
|
|
make -j2
|
|
make install
|
|
|
|
pushd test || exit
|
|
make
|
|
./run_all -v
|
|
grep 'not ok' all.log
|
|
set +x
|
|
./problems
|
|
EXIT_CODE=$?
|
|
echo "timew $( timew --version )"
|
|
python --version
|
|
python3 --version
|
|
cmake --version
|
|
clang --version
|
|
exit ${EXIT_CODE} |