From 874ec5f569d83b9b978267afa505e19dffcbc2fc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 8 Jan 2016 06:51:07 -0500 Subject: add make push target --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3