summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 6ea3aa98c7f68afb0a58a14cbe5ec9e7a8248dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Makefile
# Copyright 2008, Sean B. Palmer, inamidst.com
# Licensed under the Eiffel Forum License 2.

# archive - Create phenny.tar.bz2 using git archive
archive: ;
	# hg archive -t tbz2 phenny-hg.tar.bz2
	git archive --format=tar --prefix=phenny/ HEAD | bzip2 > phenny.tar.bz2

# ci - Check the code into git and push to github
ci: ;
	# hg ci
	git commit -a && git push origin master

# log - Show a log of recent updates
log: ;
	# git log --date=short --format='%h %ad %s'
	git graph

# sync - Push phenny to pubble:opt/phenny/
sync: ;
	rsync -avz ./ pubble:opt/phenny/

help: ;
	@egrep '^# [a-z]+ - ' Makefile | sed 's/# //'