Move from Make to Grunt

This commit is contained in:
Rowan Manning
2013-11-05 11:06:10 +00:00
parent 70037a0372
commit 0cf37c8c52
5 changed files with 41 additions and 96 deletions

View File

@@ -1,27 +0,0 @@
# Group targets
all: deps lint
# Install dependencies
deps:
@echo "Installing dependencies..."
@npm install
@./node_modules/.bin/bower install
# Lint JavaScript
lint:
@echo "Linting JavaScript..."
@./node_modules/.bin/jshint \
--config ./test/config/jshint.json \
--exclude ./node_modules \
*.js **/*.js
# Start the application
start:
@echo "Starting application..."
@NODE_ENV=production node .
# Start the application in development mode
start-dev:
@echo "Starting application (development mode)..."
@NODE_ENV=development ./node_modules/.bin/supervisor -q .