Compile before

This commit is contained in:
raspberry
2018-02-22 10:10:08 +03:00
parent 3e5e71035d
commit 0f9a759839
2 changed files with 16 additions and 14 deletions
+7 -4
View File
@@ -1,11 +1,14 @@
#SHELL := /bin/bash
ARGS = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
commit:
lint:
rm -rf "src/__pycache__"
python3 -m compileall src
rm -rf "src/__pycache__"
commit: lint
git add .
git commit -m "$(call ARGS,\"updating to lastest local code\")"
git push
%:
@:
@: