UNPKG

591 BPlain TextView Raw
1#
2# Vars
3#
4
5BIN = ./node_modules/.bin
6.DEFAULT_GOAL := all
7
8#
9# Tasks
10#
11
12node_modules: package.json
13 @npm install
14 @touch node_modules
15
16test: $(src) $(tests) node_modules
17 @NODE_ENV=development hihat test/index.js -- \
18 --debug \
19 -t babelify \
20 -p tap-dev-tool
21
22validate: node_modules
23 @standard
24
25init:
26 @git init
27 @git add .
28 @git commit -am "initial"
29 @hub create vdux-components/form -d "vdux form component"
30 @travis enable
31 @git push -u origin master
32
33clean:
34 @rm -rf lib
35
36build: clean
37 babel src --out-dir lib
38
39all: validate test
40
41#
42# Phony
43#
44
45.PHONY: test validate clean build