summaryrefslogtreecommitdiffstats
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rwxr-xr-xproject26
1 files changed, 26 insertions, 0 deletions
diff --git a/project b/project
new file mode 100755
index 0000000..21ff142
--- /dev/null
+++ b/project
@@ -0,0 +1,26 @@
+#!/bin/bash
+# project
+# Copyright 2008, Sean B. Palmer, inamidst.com
+# Licensed under the Eiffel Forum License 2.
+
+# archive - Create phenny.tar.bz2 using git archive
+function archive() {
+ git archive --format=tar --prefix=phenny/ HEAD | bzip2 > phenny.tar.bz2
+}
+
+# commit - Check the code into git and push to github
+function commit() {
+ git commit -a && git push origin master
+}
+
+# log - Show a log of recent updates
+function history() {
+ git log --pretty=oneline --no-merges -10
+}
+
+# help - Show functions in project script
+function help() {
+ egrep '^# [a-z]+ - ' $0 | sed 's/# //'
+}
+
+eval "$1"