-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (29 loc) · 932 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
38
39
40
41
.PHONY: build
install:
pip install -U -r build-requirements.txt
python setup.py develop
test:
py.test --cov=deployto tests/unit
check-code:
pycodestyle .
pyflakes .
integration-test:
py.test -s tests/integration
build-dev:
docker-compose build deployto
dev: build-dev
docker-compose run deployto bash
clean:
rm -fr dist build
build: build-dev
docker-compose run deployto python setup.py sdist bdist_wheel
docker-compose run deployto pandoc --from=markdown --to=rst --output=build/README.rst README.md
release-pypi: clean build-dev build
docker-compose run deployto twine upload dist/*
release-docker: clean
docker build --no-cache -t theserverlessway/deployto -f Dockerfile.release .
docker push theserverlessway/deployto
release: release-pypi release-docker
whalebrew:
docker build -t theserverlessway/deployto:whalebrew -f Dockerfile.whalebrew .
whalebrew install -f theserverlessway/deployto:whalebrew