forked from cloudtools/stacker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (18 loc) · 646 Bytes
/
Makefile
File metadata and controls
26 lines (18 loc) · 646 Bytes
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
.PHONY: build lint test-unit test-functional test
build:
docker build -t remind101/stacker .
lint:
flake8 --require-code --min-version=2.7 --ignore FI50,FI51,FI53,FI14,E402,W503,W504,W605 --exclude stacker/tests/ stacker
flake8 --require-code --min-version=2.7 --ignore FI50,FI51,FI53,FI14,E402,N802,W605 stacker/tests # ignore setUp naming
test-unit: clean
python setup.py test
test-unit3: clean
python3 setup.py test
clean:
rm -rf .egg stacker.egg-info
test-functional:
cd tests && bats test_suite
# General testing target for most development.
test: lint test-unit test-unit3
apidocs:
sphinx-apidoc --force -o docs/api stacker