Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "0.8.0" (defproject python/lein-template "0.8.1" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" Loading src/leiningen/new/python.clj +2 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,8 @@ empty-files ["{{name}}/__init__.py"] package-files ["logger.conf" "configlogger.py" "config.py"] "config.py" "test_main.py"] post-run-commands ["chmod -R +x utils/ git-hooks/ deb-scripts/" ]] (main/info "Generating new python project:" name) Loading src/leiningen/new/python/test_main.py 0 → 100644 +13 −0 Original line number Diff line number Diff line #!/usr/bin/env python # coding=utf-8 """Project unit tests. """ def test_dumb(): """a unit test to make py.test run pass on empty project. """ assert True Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "0.8.0" (defproject python/lein-template "0.8.1" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" Loading
src/leiningen/new/python.clj +2 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,8 @@ empty-files ["{{name}}/__init__.py"] package-files ["logger.conf" "configlogger.py" "config.py"] "config.py" "test_main.py"] post-run-commands ["chmod -R +x utils/ git-hooks/ deb-scripts/" ]] (main/info "Generating new python project:" name) Loading
src/leiningen/new/python/test_main.py 0 → 100644 +13 −0 Original line number Diff line number Diff line #!/usr/bin/env python # coding=utf-8 """Project unit tests. """ def test_dumb(): """a unit test to make py.test run pass on empty project. """ assert True