forked from aws/serverless-application-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·33 lines (23 loc) · 753 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
target:
$(info ${HELP_MESSAGE})
@exit 0
init:
pip install -e '.[dev]'
test:
pytest --cov samtranslator --cov-report term-missing --cov-fail-under 95 tests
black:
black setup.py samtranslator/* tests/* bin/*
black-check:
black --check setup.py samtranslator/* tests/* bin/*
# Command to run everytime you make changes to verify everything works
dev: test
# Verifications to run before sending a pull request
pr: black-check init dev
define HELP_MESSAGE
Usage: $ make [TARGETS]
TARGETS
init Initialize and install the requirements and dev-requirements for this project.
test Run the Unit tests.
dev Run all development tests after a change.
pr Perform all checks before submitting a Pull Request.
endef