js-cfb/Makefile
SheetJS d03d13d6f2 version bump 0.8.0: removed old accessors
- removed .Directory and .Paths accessors
- build script using bits/
- typescript definitions in misc/
2013-11-26 10:56:58 -05:00

22 lines
340 B
Makefile

DEPS=$(wildcard bits/*.js)
TARGET=cfb.js
$(TARGET): $(DEPS)
cat $^ > $@
.PHONY: test mocha
test mocha: init
mocha -R spec
.PHONY: lint
lint:
jshint cfb.js
.PHONY: init
init:
if [ ! -e test_files ]; then git clone https://github.com/SheetJS/test_files; cd test_files; make; fi
.PHONY: clean
clean:
rm -rf $(TARGET) ./test_files/