2008-02-29 10:36:18 -05:00
|
|
|
# Makefile
|
|
|
|
# Copyright 2008, Sean B. Palmer, inamidst.com
|
|
|
|
# Licensed under the Eiffel Forum License 2.
|
|
|
|
|
2010-12-28 18:33:03 -05:00
|
|
|
# archive - Create phenny.tar.bz2 using git archive
|
2008-02-29 10:36:18 -05:00
|
|
|
archive: ;
|
2010-04-03 14:25:50 -04:00
|
|
|
# hg archive -t tbz2 phenny-hg.tar.bz2
|
2010-01-18 17:28:36 -05:00
|
|
|
git archive --format=tar --prefix=phenny/ HEAD | bzip2 > phenny.tar.bz2
|
2010-01-19 09:52:37 -05:00
|
|
|
|
2010-12-28 18:33:03 -05:00
|
|
|
# ci - Check the code into git and push to github
|
2010-01-19 09:52:37 -05:00
|
|
|
ci: ;
|
2010-04-03 14:25:50 -04:00
|
|
|
# hg ci
|
2010-01-19 09:52:37 -05:00
|
|
|
git commit -a && git push origin master
|
|
|
|
|
2010-12-28 18:33:03 -05:00
|
|
|
# log - Show a log of recent updates
|
2010-01-19 09:52:37 -05:00
|
|
|
log: ;
|
|
|
|
# git log --date=short --format='%h %ad %s'
|
|
|
|
git graph
|
2010-11-06 08:09:03 -04:00
|
|
|
|
2010-12-28 18:33:03 -05:00
|
|
|
# sync - Push phenny to pubble:opt/phenny/
|
2010-11-06 08:09:03 -04:00
|
|
|
sync: ;
|
2010-11-06 08:52:35 -04:00
|
|
|
rsync -avz ./ pubble:opt/phenny/
|
2010-12-28 18:33:03 -05:00
|
|
|
|
|
|
|
help: ;
|
|
|
|
@egrep '^# [a-z]+ - ' Makefile | sed 's/# //'
|