Compile before

This commit is contained in:
raspberry committed 2018-02-22 10:10:08 +03:00
1 parent 3e5e71035d
commit 0f9a759839
2 files changed
+16 -14

No files matched your search

+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
%:
@:
@: