Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7cf4e51

Browse files
committed
+ makefile
1 parent 4a8bc76 commit 7cf4e51

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

makefile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
GIT_PORCELAIN_STATUS=$(shell git status --porcelain)
2+
3+
ok:
4+
echo 'OK'
5+
check-all-commited:
6+
if [ -n "$(GIT_PORCELAIN_STATUS)" ]; \
7+
then \
8+
echo 'YOU HAVE UNCOMMITED CHANGES'; \
9+
git status; \
10+
exit 1; \
11+
fi
12+
register: check-all-commited
13+
python setup.py register
14+
python setup.py sdist upload
15+
create-sample-images:
16+
python sample_images.py
17+
upload-sample-images-to-github-pages: check-all-commited create-sample-images
18+
git branch -D gh-pages
19+
git checkout -b gh-pages
20+
git add -f *.png
21+
git push origin :gh-pages
22+
git push origin gh-pages

0 commit comments

Comments
 (0)