adding "bump" and "archive"

This commit is contained in:
Kazu Yamamoto 2013-05-20 16:17:16 +09:00
parent fe17f135ec
commit 8290758b2f

View File

@ -21,3 +21,12 @@ $(TEMPFILE):
clean: clean:
rm -f *.elc $(TEMPFILE) rm -f *.elc $(TEMPFILE)
VERSION = `grep version ghc.el | sed -e 's/[^0-9\.]//g'`
bump:
echo "(define-package\n \"ghc-mod\"\n $(VERSION)\n \"Sub mode for Haskell mode\"\n nil)" > ghc-pkg.el
archive:
git archive master -o ~/ghc-$(VERSION).tar --prefix=ghc-$(VERSION)/
gzip ~/ghc-$(VERSION).tar