SheetJS
d03d13d6f2
- removed .Directory and .Paths accessors - build script using bits/ - typescript definitions in misc/
22 lines
340 B
Makefile
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/
|