aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-08 06:51:07 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-08 06:51:07 -0500
commit874ec5f569d83b9b978267afa505e19dffcbc2fc (patch)
tree4003de94df61cacd53c21e0826ac837a3c692a67
parent63dc8498642b9bd088910a923ed953108f98d207 (diff)
downloadtaipan-874ec5f569d83b9b978267afa505e19dffcbc2fc.tar.gz
add make push target
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ebacf43..2ce7143 100644
--- a/Makefile
+++ b/Makefile
@@ -194,6 +194,12 @@ clean:
distclean: clean
rm -f *~ core .*.swp 1.* 2.* 1 2 3 map map.* *.map a b c foo bar baz comptitle.s comptitle.dat
+# push to git, create a new build from scratch, post it on webserver,
+# and print the short git hash (for copy/pasting into irc).
+# "naptime" is a shell script that you don't have :)
+push:
+ git push && $(MAKE) distclean all && naptime $(XEX) && git rev-parse --short HEAD
+
# Cruft. Was used for testing the enemy ship animation.
lorchatest: lorchatest.c draw_lorcha.s taifont.xex
cl65 -t atari -O -T -o lorchatest1.xex lorchatest.c draw_lorcha.s