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:
parent
89ebfa1137
commit
39e3e0f855
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,5 +2,5 @@
|
||||
doc/build
|
||||
*.egg-info
|
||||
pbr*.egg
|
||||
output.ical
|
||||
.*sw?
|
||||
output
|
||||
|
5
tox.ini
5
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user