-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (29 loc) · 687 Bytes
/
Makefile
File metadata and controls
44 lines (29 loc) · 687 Bytes
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
35
36
37
38
39
40
41
42
43
44
# The makefile for running the angular app
# Created by Mark Koh on 4/6/2016
# Define s
SERVER_PORT=5000
BOWER_FLAGS=--config.interactive=false
install-bower:
bower install $(BOWER_FLAGS)
install-npm:
npm install
install: install-npm install-bower
run: install
gulp serve
run-bg: install
nohup gulp serve > app.log 2>&1 &
build:
gulp build
\cp -R /opt/code/ng-app/dist/* /var/www/rmdrink/
build-staging:
gulp build-staging
\cp -R /opt/code/ng-app/dist/* /var/www/rmdrink/
build-prod:
gulp build-prod
\cp -R /opt/code/ng-app/dist/* /var/www/rmdrink/
kill:
pkill -f gulp
clean:
rm -rf .sass-cache dist
clean-hard: clean
rm -rf bower_components node_modules .tmp