Self-documenting Makefile
parent
01cebd1ccc
commit
4bf7150491
7
Makefile
7
Makefile
|
@ -2,17 +2,24 @@
|
||||||
# Copyright 2008, Sean B. Palmer, inamidst.com
|
# Copyright 2008, Sean B. Palmer, inamidst.com
|
||||||
# Licensed under the Eiffel Forum License 2.
|
# Licensed under the Eiffel Forum License 2.
|
||||||
|
|
||||||
|
# archive - Create phenny.tar.bz2 using git archive
|
||||||
archive: ;
|
archive: ;
|
||||||
# hg archive -t tbz2 phenny-hg.tar.bz2
|
# hg archive -t tbz2 phenny-hg.tar.bz2
|
||||||
git archive --format=tar --prefix=phenny/ HEAD | bzip2 > phenny.tar.bz2
|
git archive --format=tar --prefix=phenny/ HEAD | bzip2 > phenny.tar.bz2
|
||||||
|
|
||||||
|
# ci - Check the code into git and push to github
|
||||||
ci: ;
|
ci: ;
|
||||||
# hg ci
|
# hg ci
|
||||||
git commit -a && git push origin master
|
git commit -a && git push origin master
|
||||||
|
|
||||||
|
# log - Show a log of recent updates
|
||||||
log: ;
|
log: ;
|
||||||
# git log --date=short --format='%h %ad %s'
|
# git log --date=short --format='%h %ad %s'
|
||||||
git graph
|
git graph
|
||||||
|
|
||||||
|
# sync - Push phenny to pubble:opt/phenny/
|
||||||
sync: ;
|
sync: ;
|
||||||
rsync -avz ./ pubble:opt/phenny/
|
rsync -avz ./ pubble:opt/phenny/
|
||||||
|
|
||||||
|
help: ;
|
||||||
|
@egrep '^# [a-z]+ - ' Makefile | sed 's/# //'
|
||||||
|
|
Loading…
Reference in New Issue