-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 769 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 769 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
.PHONY: deploy deploy-github deploy-pypi update-pypi clean tests
deploy-github:
git tag `grep "gaeenv_version =" gaeenv.py | grep -o -E '[0-9]\.[0-9]\.[0-9]{1,2}'`
git push --tags origin master
deploy-pypi:
python setup.py sdist upload
update-pypi:
python setup.py register
deploy: deploy-github deploy-pypi
clean:
@rm -rf gaeenv.egg-info/
@rm -rf dist/
@rm -rf build/
@rm -rf env/
test1:
@echo " * test1: list versions and install latest"
@rm -rf env && \
virtualenv --no-site-packages env && \
. env/bin/activate && \
pip install requests && \
python setup.py install && \
gaeenv -vv list sdk && \
gaeenv -vv install sdk
tests: clean test1