2013-03-31 22:56:45 +00:00
|
|
|
DEPS=$(wildcard bits/*.js)
|
2013-10-30 19:26:07 +00:00
|
|
|
TARGET=xlsx.js
|
|
|
|
$(TARGET): $(DEPS)
|
2013-03-31 22:56:45 +00:00
|
|
|
cat $^ > $@
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2014-01-15 13:58:55 +00:00
|
|
|
rm $(TARGET)
|
2013-10-30 19:26:07 +00:00
|
|
|
|
|
|
|
.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
|
2013-10-30 19:26:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: test mocha
|
|
|
|
test mocha:
|
|
|
|
mocha -R spec
|
|
|
|
|
|
|
|
.PHONY: jasmine
|
|
|
|
jasmine:
|
|
|
|
npm run-script test-jasmine
|
2013-05-18 00:12:10 +00:00
|
|
|
|
2013-10-30 19:26:07 +00:00
|
|
|
.PHONY: lint
|
|
|
|
lint: $(TARGET)
|
|
|
|
jshint --show-non-errors $(TARGET)
|