File: Makefile

package info (click to toggle)
leaflet-geometryutil 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: javascript: 763; makefile: 19
file content (19 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
INSTALL_STAMP=.install.stamp

all: install
install: $(INSTALL_STAMP)

$(INSTALL_STAMP):
	npm install
	touch $(INSTALL_STAMP)

test: install
	@./node_modules/mocha-phantomjs/bin/mocha-phantomjs test/index.html

docs: install
	@./node_modules/jsdoc/jsdoc -d ./docs/ dist/ README.md

clean:
	rm -rf node_modules/ $(INSTALL_STAMP)

.PHONY: test docs