2014-08-24 00:54:58 +02:00
|
|
|
COLORBOX_PATH=sigal/themes/colorbox/static/css
|
|
|
|
|
GALLERIA_PATH=sigal/themes/galleria/static/css
|
|
|
|
|
|
|
|
|
|
all: colorbox galleria
|
|
|
|
|
|
2014-11-09 00:04:17 +01:00
|
|
|
init:
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
docs:
|
2014-09-04 22:46:34 +02:00
|
|
|
make -C docs html
|
2014-11-09 00:04:17 +01:00
|
|
|
|
2014-08-24 00:54:58 +02:00
|
|
|
colorbox:
|
|
|
|
|
cat $(COLORBOX_PATH)/{base,skeleton,colorbox,style}.css | cssmin > $(COLORBOX_PATH)/style.min.css
|
|
|
|
|
|
|
|
|
|
galleria:
|
|
|
|
|
cat $(GALLERIA_PATH)/{normalize,style}.css | cssmin > $(GALLERIA_PATH)/style.min.css
|
|
|
|
|
|
2014-11-09 00:04:17 +01:00
|
|
|
test:
|
|
|
|
|
py.test
|
|
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
|
py.test --cov sigal --cov-report term --cov-report=html
|
|
|
|
|
|
2015-03-04 23:40:32 +01:00
|
|
|
publish: colorbox galleria
|
2014-11-09 00:04:17 +01:00
|
|
|
python setup.py register
|
|
|
|
|
python setup.py sdist upload
|
|
|
|
|
python setup.py bdist_wheel upload
|
|
|
|
|
|
2014-09-04 22:46:34 +02:00
|
|
|
.PHONY: colorbox galleria docs
|