mirror of
https://github.com/jimeh/heartb.it.git
synced 2026-02-19 12:56:47 +00:00
switch to using and running *.coffee files instead of *.js as this is an app, not a package
This commit is contained in:
10
Makefile
10
Makefile
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user