Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (20 sloc) 0.574 kb
18d3b71 Mick Koch Add Makefile with initial archive rules
authored
1 REF = HEAD
c91aaa0 Mick Koch Use git rev-list for HASH
authored
2 HASH = $(shell git rev-list -n 1 --abbrev-commit $(REF))
18d3b71 Mick Koch Add Makefile with initial archive rules
authored
3
4 ARCHIVE = vim-coffee-script-$(HASH).zip
5 ARCHIVE_DIRS = after ftdetect ftplugin indent syntax
6
7 # Nothing to do by default
8 all:
9
ed98b39 Mick Koch Merge $(ARCHIVE) into archive
authored
10 archive:
11 git archive $(REF) $(ARCHIVE_DIRS) -o $(ARCHIVE)
18d3b71 Mick Koch Add Makefile with initial archive rules
authored
12
13 clean:
14 -rm -f $(ARCHIVE)
15
16 # For easy copypasta into vim.org
17 hash:
18 @echo $(HASH)
19
9bc7646 Mick Koch Add coffeeAll rule to Makefile
authored
20 coffeeAll:
21 @grep -E 'syn (match|region)' syntax/coffee.vim |\
22 grep -v 'contained' |\
23 awk '{print $$3}' |\
24 uniq |\
25 grep -vE 'Error|coffeeAssignString|coffeeHeregexComment|coffeeInterp'
26
f65e11c Mick Koch Add all to .PHONY
authored
27 .PHONY: all archive clean hash coffeeAll
Something went wrong with that request. Please try again.