forked from sheetjs/sheetjs
SheetJS
713f5aa417
- merged test repo with xls - travis integration - shifted to Apache 2.0 LICENSE - mocha tests The shift to Apache 2.0 was long overdue. It's becoming clear that compliance requires deeper integration with the xls libraries and other implementations whose specifications are covered under the OSP. It was a grave oversight for the ISO and ECMA people to not try to implement parsers themselves, for if they did I suspect the outcome would have been much different
28 lines
389 B
Makefile
28 lines
389 B
Makefile
DEPS=$(wildcard bits/*.js)
|
|
TARGET=xlsx.js
|
|
$(TARGET): $(DEPS)
|
|
cat $^ > $@
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm $(TARGET)
|
|
|
|
.PHONY: init
|
|
init:
|
|
git submodule init
|
|
git submodule update
|
|
git submodule foreach git pull origin master
|
|
|
|
|
|
.PHONY: test mocha
|
|
test mocha:
|
|
mocha -R spec
|
|
|
|
.PHONY: jasmine
|
|
jasmine:
|
|
npm run-script test-jasmine
|
|
|
|
.PHONY: lint
|
|
lint: $(TARGET)
|
|
jshint --show-non-errors $(TARGET)
|