forked from outscale/osc-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (30 loc) · 742 Bytes
/
Makefile
File metadata and controls
38 lines (30 loc) · 742 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
27
28
29
30
31
32
33
34
35
36
37
38
all: help
.PHONY: help
help:
@echo "Available targets:"
@echo "- build: python package building"
@echo "- test: run all tests"
@echo "- test-pylint: check code with pylint"
@echo "- test-bandit: security check with bandit"
@echo "- test-int: run integration tests"
@echo "- clean: clean temp files, venv, etc"
.PHONY: test
test: clean test-pylint test-bandit test-int build
@echo "All tests OK"
.PHONY: test-pylint
test-pylint: .venv/ok
@./tests/test_pylint.sh
.PHONY: test-bandit
test-bandit: .venv/ok
@./tests/test_bandit.sh
.PHONY: test-int
test-int: .venv/ok
./tests/test_int.sh
.PHONY: build
build: .venv/ok
@./tests/build.sh
.venv/ok:
@./tests/setup_venv.sh
.PHONY: clean
clean:
rm -rf .venv osc_sdk.egg-info dist