@@ -7,7 +7,7 @@ MODULES := $(wildcard $(PACKAGE)/*.py)
77all : doctor format check test mkdocs # # Run all tasks that determine CI status
88
99.PHONY : dev
10- dev : install # # Continuously run all CI tasks when files chanage
10+ dev : install # # Continuously run all CI tasks when files change
1111 poetry run ptw
1212
1313.PHONY : shell
@@ -24,12 +24,12 @@ demo: install
2424.PHONY : bootstrap
2525bootstrap : # # Attempt to install system dependencies
2626 asdf plugin add python || asdf plugin update python
27- asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git || asdf plugin update poetry
27+ asdf plugin add poetry || asdf plugin update poetry
2828 asdf install
2929
3030.PHONY : doctor
3131doctor : # # Confirm system dependencies are available
32- bin/verchew
32+ bin/verchew --exit-code
3333
3434# PROJECT DEPENDENCIES ########################################################
3535
@@ -47,7 +47,7 @@ $(DEPENDENCIES): poetry.lock
4747
4848ifndef CI
4949poetry.lock : pyproject.toml
50- poetry lock --no-update
50+ poetry lock
5151 @ touch $@
5252endif
5353
@@ -63,7 +63,7 @@ format: install
6363 @ echo
6464
6565.PHONY : check
66- check : install format # # Run formaters , linters, and static analysis
66+ check : install format # # Run formatters , linters, and static analysis
6767ifdef CI
6868 git diff --exit-code
6969endif
7474# TESTS #######################################################################
7575
7676.PHONY : test
77- test : install # # Run unit and integration tests
77+ test : install # # Run unit and integration tests
7878 poetry run pytest --random
7979 poetry run coveragespace update overall
8080
@@ -91,7 +91,7 @@ test-profile: install
9191MKDOCS_INDEX := site/index.html
9292
9393.PHONY : docs
94- docs : mkdocs uml notebooks # # Generate documentation and UML
94+ docs : mkdocs uml notebooks # # Generate documentation and UML
9595
9696.PHONY : mkdocs
9797mkdocs : install $(MKDOCS_INDEX )
@@ -104,11 +104,11 @@ $(MKDOCS_INDEX): docs/requirements.txt mkdocs.yml docs/*.md
104104
105105docs/requirements.txt : poetry.lock
106106 @ rm -f $@
107- @ poetry export --with dev --without-hashes | grep jinja2 >> $@
108- @ poetry export --with dev --without-hashes | grep markdown >> $@
109- @ poetry export --with dev --without-hashes | grep mkdocs >> $@
110- @ poetry export --with dev --without-hashes | grep pygments >> $@
111- @ poetry export --with dev --without-hashes | grep importlib-metadata >> $@
107+ @ poetry export --all-groups --without-hashes | grep jinja2 >> $@
108+ @ poetry export --all-groups --without-hashes | grep markdown >> $@
109+ @ poetry export --all-groups --without-hashes | grep mkdocs >> $@
110+ @ poetry export --all-groups --without-hashes | grep pygments >> $@
111+ @ poetry export --all-groups --without-hashes | grep importlib-metadata >> $@
112112
113113.PHONY : mkdocs-serve
114114mkdocs-serve : mkdocs
@@ -140,15 +140,15 @@ $(DIST_FILES): $(MODULES) pyproject.toml
140140 poetry build
141141
142142.PHONY : upload
143- upload : dist # # Upload the current version to PyPI
143+ upload : dist # # Upload the current version to PyPI
144144 git diff --name-only --exit-code
145145 poetry publish
146146 bin/open https://pypi.org/project/$(PACKAGE )
147147
148148# CLEANUP #####################################################################
149149
150150.PHONY : clean
151- clean : # # Delete all generated and temporary files
151+ clean : # # Delete all generated and temporary files
152152 rm -rf .venv
153153
154154# HELP ########################################################################
0 commit comments