switch to using and running *.coffee files instead of *.js as this is an app, not a package

This commit is contained in:
2012-03-15 00:00:44 +00:00
parent cc124d99f6
commit 8c1ebf8b91
10 changed files with 8 additions and 124 deletions

View File

@@ -2,22 +2,14 @@
.PHONY: build watch docs test deploy
BIN = ./node_modules/.bin
COFFEE_SRC = ./src
COFFEE_OUT = ./
REPORTER = spec
TEST_DIR = ./test
deploy:
git push heroku master
build:
$(BIN)/coffee -c -o $(COFFEE_OUT) $(COFFEE_SRC)
watch:
$(BIN)/coffee -cw -o $(COFFEE_OUT) $(COFFEE_SRC)
docs:
$(BIN)/docco $(shell find $(COFFEE_SRC) -name '*.coffee')
test:
$(BIN)/mocha -R $(REPORTER) $(TEST_DIR)/*.js
$(BIN)/mocha -R $(REPORTER) $(shell find $(TEST_DIR) -name '*.test.coffee')