forked from tkrajina/srtm.py
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
Latest commit
executable file
·26 lines (25 loc) · 654 Bytes
/
Copy pathmakefile
File metadata and controls
executable file
·26 lines (25 loc) · 654 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
GIT_PORCELAIN_STATUS=$(shell git status --porcelain)
test:
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/