-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (25 loc) · 815 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
NODE := "node"
# RUN ##########################################################################
.PHONY: all
all: build
# BUILD ########################################################################
.PHONY: build
build: depends
$(NODE) ./node_modules/gulp/bin/gulp.js
.PHONY: depends
depends:
@ echo "Installing component dependencies..."
@ echo
npm install
.PHONY: run
run:
@echo "====="
@echo "Open a web browser pointing to:"
@echo "http://localhost:8080/webpack-dev-server/ to hack or,"
@echo "http://localhost:8080 to play"
@echo "====="
$(NODE) ./node_modules/gulp/bin/gulp.js && $(NODE) ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --content-base dist
# CLEAN ########################################################################
.PHONY: clean
clean:
rm -rf dist