forked from nawagers/srtm.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (26 loc) · 666 Bytes
/
makefile
File metadata and controls
27 lines (26 loc) · 666 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
GIT_PORCELAIN_STATUS=$(shell git status --porcelain)
test:
pyflakes .
python -m unittest test
check-all-commited:
if [ -n "$(GIT_PORCELAIN_STATUS)" ]; \
then \
echo 'YOU HAVE UNCOMMITED CHANGES'; \
git status; \
exit 1; \
fi
pypi-upload: check-all-commited
python setup.py register
python setup.py sdist upload
create-sample-images:
python sample_images.py
python gpx_sample_images.py
upload-sample-images-to-github-pages: check-all-commited create-sample-images
git branch -D gh-pages
git checkout -b gh-pages
git add -f *.png
git commit -m "Images"
git push origin gh-pages
git checkout master
ctags:
ctags -R . /usr/lib/python2.7/