Commit 34be72d3 authored by Nick Stenning's avatar Nick Stenning

Add a stripped-down Makefile and a .gitignore

parent d29cbc0b
build/
node_modules/
NPM_BIN := $(shell npm bin)
.PHONY: default
default: all
.PHONY: all
all: build/manifest.json
## Remove build artifacts
.PHONY: clean
clean:
rm -f node_modules/.uptodate
rm -rf build
## Run test suite
.PHONY: test
test: node_modules/.uptodate
$(NPM_BIN)/gulp test-app
################################################################################
build/manifest.json: node_modules/.uptodate
$(NPM_BIN)/gulp build-app
node_modules/.uptodate: package.json
@echo installing javascript dependencies
@$(NPM_BIN)/check-dependencies 2>/dev/null || npm install
@touch $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment