Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a8bc76 commit 7cf4e51Copy full SHA for 7cf4e51
1 file changed
makefile
@@ -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