Commit 3a782576 authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.9.0 add "make debug": run main.py with DEBUG=1 env

parent 12711817
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.8.2"
(defproject python/lein-template "0.9.0"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+3 −1
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ REQUIREMENTS := -r requirements.txt
default: check-coding-style
build:

debug:
	env DEBUG=1 $(PYTHON) {{name}}/main.py
run:
	$(PYTHON) {{name}}/main.py
uwsgi:
@@ -71,4 +73,4 @@ install-git-hooks-force:
loc:
	find . -regex '.*\.pyw?$$' -exec wc -l {} \+ | tail -n 1
	which cloc >/dev/null && cloc {{name}}/
.PHONY: default build run uwsgi shell venv bootstrap bootstrap-dev install uninstall deb wheel check check-coding-style pylint-full test clean full-clean TAGS update-git-hooks install-git-hooks install-git-hooks-force loc
.PHONY: default build debug run uwsgi shell venv bootstrap bootstrap-dev install uninstall deb wheel check check-coding-style pylint-full test clean full-clean TAGS update-git-hooks install-git-hooks install-git-hooks-force loc