DEMO_PROJECT_NAME := foo-bar https_proxy ?= 127.0.0.1:8123 default: test: py3 install: lein install py3: install rm -rf $(DEMO_PROJECT_NAME) lein new python $(DEMO_PROJECT_NAME) cd $(DEMO_PROJECT_NAME) && cmake -G Ninja -S . -B _build && cmake --build _build --target check rm -rf $(DEMO_PROJECT_NAME) deploy: # Please use a https proxy when run inside GFW. env https_proxy=$(https_proxy) lein deploy clojars .PHONY: default test install py3 deploy