refactor: convert script to automtu package with CI workflow
https://chatgpt.com/share/697112b2-0410-800f-93ff-9372b603d43f
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,4 +1,4 @@
|
||||
PY ?= python3
|
||||
PYTHON ?= python3
|
||||
|
||||
.PHONY: test install help
|
||||
|
||||
@@ -9,11 +9,4 @@ help:
|
||||
@echo " make help - this help"
|
||||
|
||||
test:
|
||||
$(PY) -m unittest -v test.py
|
||||
|
||||
install:
|
||||
@echo "Installation is provided via your package manager:"
|
||||
@echo " pkgmgr install automtu"
|
||||
@echo ""
|
||||
@echo "Alternatively, run the tool directly:"
|
||||
@echo " $(PY) main.py [--options]"
|
||||
@PYTHONPATH="$(CURDIR)/src" "$(PYTHON)" -m unittest discover -s tests/unit -p "test_*.py" -v
|
||||
|
||||
Reference in New Issue
Block a user