forked from cloud-custodian/cloud-custodian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (29 loc) · 915 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
34
35
36
37
install:
python3 -m venv .
. bin/activate && pip install -r requirements-dev.txt
. bin/activate && pip install -e .
. bin/activate && pip install -r tools/c7n_mailer/requirements.txt
. bin/activate && pip install -r tools/c7n_azure/requirements.txt
. bin/activate && pip install -r tools/c7n_gcp/requirements.txt
. bin/activate && pip install -r tools/c7n_kube/requirements.txt
test:
./bin/tox -e py27
test3:
./bin/tox -e py37
ftest:
C7N_FUNCTIONAL=yes AWS_DEFAULT_REGION=us-east-2 ./bin/py.test -m functional tests
sphinx:
make -f docs/Makefile.sphinx clean && \
make -f docs/Makefile.sphinx html
ghpages:
-git checkout gh-pages && \
mv docs/build/html new-docs && \
rm -rf docs && \
mv new-docs docs && \
git add -u && \
git add -A && \
git commit -m "Updated generated Sphinx documentation"
lint:
flake8 c7n tools tests
clean:
rm -rf .tox .Python bin include lib pip-selfcheck.json