Skip to content
Makefile 481 B
Newer Older
DEMO_PROJECT_NAME := foo-bar

default:
test: py2
install:
	rm -rf $(DEMO_PROJECT_NAME)
	lein new python $(DEMO_PROJECT_NAME)
	cd $(DEMO_PROJECT_NAME) && make test DEFAULT_PYTHON=python3
	rm -rf $(DEMO_PROJECT_NAME)
py2: py3
	rm -rf $(DEMO_PROJECT_NAME)
	lein new python $(DEMO_PROJECT_NAME)
	cd $(DEMO_PROJECT_NAME) && make test DEFAULT_PYTHON=python2
	rm -rf $(DEMO_PROJECT_NAME)
Yuanle Song's avatar
Yuanle Song committed
deploy:
	lein deploy clojars
.PHONY: default test install py3 py2 deploy