sheetjs/Makefile

29 lines
415 B
Makefile
Raw Normal View History

DEPS=$(wildcard bits/*.js)
TARGET=xlsx.js
$(TARGET): $(DEPS)
cat $^ > $@
.PHONY: clean
clean:
2014-01-15 13:58:55 +00:00
rm $(TARGET)
.PHONY: init
init:
git submodule init
git submodule update
2014-01-15 13:58:55 +00:00
git submodule foreach git pull origin master
git submodule foreach make
.PHONY: test mocha
test mocha:
mocha -R spec
.PHONY: jasmine
jasmine:
npm run-script test-jasmine
2013-05-18 00:12:10 +00:00
.PHONY: lint
lint: $(TARGET)
jshint --show-non-errors $(TARGET)