]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/Makefile
Update: makefiles, sphinx docs, tests
[cookiecutter.git] / project_template / Makefile
diff --git a/project_template/Makefile b/project_template/Makefile
new file mode 100644 (file)
index 0000000..fc9c35e
--- /dev/null
@@ -0,0 +1,30 @@
+
+.PHONY: all
+all:
+       @echo "Nothing to be done for 'all'"
+
+.PHONY: release
+release: tests flake8 html distr
+
+.PHONY: distr
+distr:
+       ./mk-distr
+
+.PHONY: flake8
+flake8:
+       flake8
+
+.PHONY: html
+html:
+       $(MAKE) -C docs html
+
+.PHONY: test
+test:
+       $(MAKE) -C tests
+
+.PHONY: tests
+tests: test
+
+.PHONY: clean
+clean:
+       find . -name '*.py[co]' -type f -delete