Verified Commit a8c92764 authored by Dominik George's avatar Dominik George 🍻
Browse files

Run Makefile if available at build

parent 5fd625cc
Pipeline #5799 passed with stage
in 1 minute and 41 seconds
......@@ -5,6 +5,7 @@ envlist = py37,py38,py39
[testenv]
whitelist_externals = poetry
sh
sudo
skip_install = true
envdir = {toxworkdir}/globalenv
......@@ -36,7 +37,9 @@ commands =
[testenv:build]
commands_pre =
poetry run sh -c "cd aleksis; aleksis-admin compilemessages"
commands = poetry build
commands =
/bin/sh -c "test -e Makefile && make"
poetry build
[testenv:docs]
commands = poetry run make -C docs/ html {posargs}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment