Initial import

This commit is contained in:
2012-04-16 08:06:57 +01:00
commit ea136a08ff
9 changed files with 704 additions and 0 deletions

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
NPM_EXECUTABLE_HOME := node_modules/.bin
PATH := ${NPM_EXECUTABLE_HOME}:${PATH}
SOURCE = ./src
TARGET = ./lib
REPORTER = spec
TEST_DIR = ./test
TEST_FILES = *_test.coffee
build:
coffee -o $(TARGET) -c $(SOURCE)
watch:
coffee -o $(TARGET) -cw $(SOURCE)
test:
mocha --reporter $(REPORTER) \
--compilers coffee:coffee-script \
$(shell find $(TEST_DIR) -name $(TEST_FILES))
.SILENT:
.PHONY: build watch test