38 lines
872 B
Makefile
38 lines
872 B
Makefile
.PHONY: chore configure requirements-dev.txt requirements.txt
|
|
|
|
all: chore
|
|
|
|
chore: requirements.txt requirements-dev.txt bitbucket-pipelines.yaml
|
|
|
|
Pipfile.lock: Pipfile
|
|
python3 -m pipenv lock -v
|
|
|
|
bitbucket-pipelines.yml: bitbucket-pipelines.yml.m4
|
|
m4 $@.m4 > $@
|
|
|
|
requirements-dev.txt: Pipfile.lock
|
|
python3 -m pipenv requirements --exclude-markers --dev-only > requirements-dev.txt
|
|
|
|
requirements.txt: Pipfile.lock
|
|
python3 -m pipenv requirements --exclude-markers > requirements.txt
|
|
|
|
configure: configure.ac
|
|
autoconf
|
|
|
|
test-reports/integration:
|
|
python3 -m pipenv run -v test-integration
|
|
|
|
test-reports/unit:
|
|
python3 -m pipenv run -v test-unit
|
|
|
|
test-reports/static:
|
|
python3 -m pipenv run -v test-static
|
|
|
|
build/doc: docs
|
|
python3 -m pipenv run -v doc
|
|
|
|
dist:
|
|
python3 -m pipenv run -v dist
|
|
|
|
clean:
|
|
rm -rvf autom4te.cache/ config.status config.log configure~ dist/ build/
|