forked from prodigyeducation/python-graphql-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (18 loc) · 626 Bytes
/
Makefile
File metadata and controls
22 lines (18 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include .makefile.inc
.PHONY: help
help: ## List all available commands.
${SHOW_IDENTITY}
@echo 'Usage:'
@echo '${YELLOW}make${RESET} ${GREEN}<target>${RESET}'
@echo ''
@echo 'Targets:'
@perl -ne "$${HELP_SCRIPT}" $(MAKEFILE_LIST)
.PHONY: tests
tests: ## Run the unit tests against the project.
python -m unittest discover -s tests/
.PHONY: gen-changelog
gen-changelog: ## Generate CHANGELOG.md file.
gitchangelog > CHANGELOG.md
.PHONY: gen-changelog-delta
gen-changelog-delta: ## Add change log delta to CHANGELOG.md
gitchangelog $(first-tag)..$(last-tag) | cat - CHANGELOG.md > temp && mv temp CHANGELOG.md