Compile before
This commit is contained in:
@@ -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
|
||||
|
||||
%:
|
||||
@:
|
||||
@:
|
||||
|
||||
Reference in New Issue
Block a user