restructed things a bit more

This commit is contained in:
2012-03-15 09:19:19 +00:00
parent 8c1ebf8b91
commit 431b40f506
6 changed files with 46 additions and 44 deletions

View File

@@ -1,15 +1,17 @@
.SILENT:
.PHONY: build watch docs test deploy
.PHONY: docs test deploy
BIN = ./node_modules/.bin
LIB_PATH = ./lib
TEST_PATH = ./test
REPORTER = spec
TEST_DIR = ./test
deploy:
git push heroku master
docs:
$(BIN)/docco $(shell find $(COFFEE_SRC) -name '*.coffee')
$(BIN)/docco app.coffee $(shell find $(LIB_PATH) -name '*.coffee')
test:
$(BIN)/mocha -R $(REPORTER) $(shell find $(TEST_DIR) -name '*.test.coffee')
$(BIN)/mocha -R $(REPORTER) $(shell find $(TEST_PATH) -name '*.test.coffee')