irc-meetings/tox.ini
Christian Berendt 8cfa2a01be Whitelist mkdir as external in the tox.ini file
This will avoid the following warning message when running tox -e ical:

WARNING:test command found but not installed in testenv
  cmd: /usr/bin/mkdir
  env: .../irc-meetings/.tox/ical
Maybe forgot to specify a dependency?

Change-Id: I1e709b93337f71d369e0bcc9e37df196b1580232
2015-05-27 17:08:27 +02:00

20 lines
412 B
INI

[tox]
envlist = ical
minversion = 1.6
skipsdist = True
[testenv]
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = mkdir
[testenv:venv]
commands = {posargs}
[testenv:ical]
commands =
mkdir -p output
yaml2ical -y meetings -o output/irc-meetings.ical \
-t meetingindex.jinja -w output/index.html -f