Kinesim/vendor/threex/Makefile
Amit Kumar Nandi c51788eb87 Forgejo Up
2024-10-03 06:46:07 +05:30

18 lines
470 B
Makefile

# simple makefile to avoid repeatitive tasks
buildDoc:
docco *.js
monitorDoc: build
(while inotifywait -r -e modify,attrib,create . ; do make build; done)
server:
python -m SimpleHTTPServer
deploy:
# assume there is something to commit
# use "git diff --exit-code HEAD" to know if there is something to commit
# so two lines: one if no commit, one if something to commit
git commit -a -m "New deploy" && git push -f origin HEAD:gh-pages && git reset HEAD~