Skip to content
Snippets Groups Projects
Verified Commit 76694080 authored by James Graham's avatar James Graham
Browse files

build: remove Makefile

Unnecessary as most commands in it are automated now
parent 9f1756cb
No related branches found
No related tags found
No related merge requests found
.PHONY: test
test:
# Collect coverage data, but don't report it - for CI build
poetry run pytest --cov=pycgtool --cov-report=
.PHONY: cov
cov:
poetry run pytest --cov=pycgtool --cov-fail-under=80
.PHONY: lint
lint:
# Lint using only pyflakes - checks for actual errors
poetry run prospector --strictness veryhigh --test-warnings --tool pyflakes
# Lint using range of tools, but don't fail the build if we get warnings
poetry run prospector --strictness veryhigh --test-warnings --member-warnings --max-line-length 120 --zero-exit
.PHONY: docs
docs:
SPHINXBUILD="poetry run sphinx-build" make -C docs html
.PHONY: build
build:
poetry build
.PHONY: publish
publish:
rm -rf dist/
poetry version prerelease
poetry build
poetry publish -r testpypi
.PHONY: clean
clean:
rm -f .coverage *.itp* *.gro* *.dat* *.json* *.xtc*
rm -rf *.ff
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment