docs: explain Makefile targets
This commit is contained in:
1 parent
7070f52e03
commit
39341a29e6
1 file changed
+3
@@ -1,10 +1,13 @@
|
|||||||
.PHONY: test run build
|
.PHONY: test run build
|
||||||
|
|
||||||
|
# Run the repository's test suite using the same discovery path as CI.
|
||||||
test:
|
test:
|
||||||
python3 -m unittest discover -s tests -v
|
python3 -m unittest discover -s tests -v
|
||||||
|
|
||||||
|
# Start the HTTP calculator locally with the configured environment.
|
||||||
run:
|
run:
|
||||||
python3 -m app.main
|
python3 -m app.main
|
||||||
|
|
||||||
|
# Build the application image against the pinned dependency base.
|
||||||
build:
|
build:
|
||||||
docker build -t belki-calculator:test .
|
docker build -t belki-calculator:test .
|
||||||
Reference in new issue
Block a user