irc-meetings/tox.ini
James E. Blair 39e3e0f855 In tox, write output to subdir
Write the index and ical files to a subdir with their 'correct'
names so that it is easier for the publish job to work.  It will
also be easier for developers to examine the output locally.

Change-Id: I810438e95791e1614f7ad10bb0419dea89f3893e
Depends-On: Ic188c1849559a9c8f282845940f56cf533b9bfd6
2015-05-26 10:28:01 -07:00

19 lines
384 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
[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