irc-meetings/tox.ini
John L. Villalovos ee794f5dff Change name of calendar dir to 'calendars'
On eavesdrop.openstack.org there already exists a directory 'meetings'.
Use the directory name 'calendars' to store the iCal files

Change-Id: I02825ae443041e1b765c72b55b97caf57f9c33ed
2015-06-18 06:16:47 -07:00

23 lines
565 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/calendars
yaml2ical -n "OpenStack Meetings" \
-d "Meeting schedule for the OpenStack projects" \
-y meetings -o output/irc-meetings.ical \
-t meetingindex.jinja -w output/index.html -f
yaml2ical -y meetings -i output/calendars/ -f