30 lines
609 B
Makefile
30 lines
609 B
Makefile
COLORBOX_PATH=sigal/themes/colorbox/static/css
|
|
GALLERIA_PATH=sigal/themes/galleria/static/css
|
|
|
|
all: colorbox galleria
|
|
|
|
init:
|
|
pip install -r requirements.txt
|
|
|
|
docs:
|
|
make -C docs html
|
|
|
|
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
|
|
|
|
test:
|
|
py.test
|
|
|
|
coverage:
|
|
py.test --cov sigal --cov-report term --cov-report=html
|
|
|
|
publish:
|
|
python setup.py register
|
|
python setup.py sdist upload
|
|
python setup.py bdist_wheel upload
|
|
|
|
.PHONY: colorbox galleria docs
|