Commit de6fdd2f authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.16.0 add sanity-check support

- bump yygame-utils pkg version to 0.15.0, which provides the @check decorator.
parent 67f5a6e5
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -4,16 +4,6 @@ Time-stamp: <2016-09-08>
#+STARTUP: content
* current							      :entry:
** 
** 2016-09-08 integrate sanity-check
- update yygame-utils pkg version
- in Makefile
 check: just-test
+sanity-check:
+	$(PYTHON) wechat_article_saver_daemon/sanity_check.py
 check-coding-style: bootstrap-dev

- add the template with a dumb check.

** 2016-09-08 support updating site file, deb scripts etc after project is generated.
- the domain in site file could change.
- the pkg name could change.
@@ -49,6 +39,16 @@ see example ~/.pylintrc
** 2014-05-09 add sphinx support
* later								      :entry:
* done								      :entry:
** DONE 2016-09-08 integrate sanity-check
- update yygame-utils pkg version
- in Makefile
 check: just-test
+sanity-check:
+	$(PYTHON) wechat_article_saver_daemon/sanity_check.py
 check-coding-style: bootstrap-dev

- add the template with a dumb check.

** DONE 2016-06-30 make "lein new python bar" work, without --to-dir .
chmod -R +x utils/

+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.15.0"
(defproject python/lein-template "0.16.0"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@
        package-files ["logger.conf"
                       "configlogger.py"
                       "config.py"
                       "sanity_check.py"
                       "test_main.py"]
        post-run-commands ["chmod -R +x utils/ git-hooks/ deb-scripts/"
                           ]]
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,8 @@ wheel: bootstrap-dev
	$(PIP) wheel -w wheelhouse -f https://emacsos.com/python/packages/ $(REQUIREMENTS)

check: just-test
sanity-check:
	$(PYTHON) {{name}}/sanity_check.py
check-coding-style: bootstrap-dev
	$(PEP8) $(PYTHON_MODULES)
	$(PYLINT) -E $(PYTHON_MODULES)
+1 −1
Original line number Diff line number Diff line
yygame-utils==0.10.0
yygame-utils==0.15.0
# raven==3.6.1
Loading