mirror of
https://github.com/jimeh/heartb.it.git
synced 2026-02-19 12:56:47 +00:00
First stab at turning this into a Github Pages site
This commit is contained in:
34
Makefile
34
Makefile
@@ -1,31 +1,5 @@
|
||||
serve:
|
||||
bundle exec jekyll serve
|
||||
|
||||
.SILENT:
|
||||
.PHONY: deploy docs read-docs test build watch
|
||||
|
||||
BIN = ./node_modules/.bin
|
||||
|
||||
REPORTER = spec
|
||||
TESTS = ./test/**/*.test.coffee
|
||||
SOURCES = ./*.coffee ./lib/**/*.coffee
|
||||
|
||||
default: test
|
||||
|
||||
deploy:
|
||||
git push heroku master
|
||||
|
||||
docs:
|
||||
$(BIN)/docco $(shell find $(SOURCES))
|
||||
|
||||
read-docs:
|
||||
open docs/app.html
|
||||
|
||||
test:
|
||||
NODE_ENV=test $(BIN)/mocha \
|
||||
--compilers coffee:coffee-script \
|
||||
--reporter $(REPORTER) \
|
||||
$(shell find $(TESTS))
|
||||
|
||||
build:
|
||||
$(BIN)/coffee -c $(SOURCES)
|
||||
|
||||
watch:
|
||||
$(BIN)/coffee -cw $(SOURCES)
|
||||
.PHONY:
|
||||
|
||||
Reference in New Issue
Block a user