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
This commit is contained in:
James E. Blair 2015-05-26 10:26:28 -07:00
parent 89ebfa1137
commit 39e3e0f855
2 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -2,5 +2,5 @@
doc/build
*.egg-info
pbr*.egg
output.ical
.*sw?
output

View File

@ -12,4 +12,7 @@ deps = -r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:ical]
commands = yaml2ical -y meetings -o output.ical -t meetingindex.jinja -w output.html -f
commands =
mkdir -p output
yaml2ical -y meetings -o output/irc-meetings.ical \
-t meetingindex.jinja -w output/index.html -f