From 39e3e0f8553ab1bc2bb8d4681ddac0bc63bde3d3 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 26 May 2015 10:26:28 -0700 Subject: [PATCH] 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 --- .gitignore | 2 +- tox.ini | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9bb93fa0..66b4662b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ doc/build *.egg-info pbr*.egg -output.ical .*sw? +output diff --git a/tox.ini b/tox.ini index 4b54b6be..a6370750 100644 --- a/tox.ini +++ b/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