Add my existing implementation
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
PY?=python3
|
||||
|
||||
default: daemon
|
||||
|
||||
help:
|
||||
@echo 'Makefile for TagTimePy '
|
||||
@echo ' '
|
||||
@echo 'Usage: '
|
||||
@echo ' make clean remove temporary files '
|
||||
@echo ' make test run tests '
|
||||
@echo ' make daemon run TagTime daemon '
|
||||
@echo ' make autoflake run autoflake on py files '
|
||||
|
||||
clean:
|
||||
@rm -rf __pycache__
|
||||
@rm -rf **/__pycache__
|
||||
|
||||
test:
|
||||
@$(PY) -m unittest tests/*.py
|
||||
@$(PY) -m doctest tests/*.py
|
||||
|
||||
daemon:
|
||||
@$(PY) tagtime.py daemon
|
||||
|
||||
Reference in New Issue
Block a user