1 | ##
|
2 | ## GemstoneJS -- Gemstone JavaScript Technology Stack
|
3 | ## Copyright (c) 2016-2018 Gemstone Project <http://gemstonejs.com>
|
4 | ## Licensed under Apache License 2.0 <https://spdx.org/licenses/Apache-2.0>
|
5 | ##
|
6 |
|
7 | NPM = npm
|
8 |
|
9 | all: build
|
10 |
|
11 | bootstrap:
|
12 | @if [ ! -d node_modules ]; then $(NPM) install; fi
|
13 |
|
14 | build: bootstrap
|
15 | @$(NPM) run grunt
|
16 |
|
17 | clean: bootstrap
|
18 |
|
19 | distclean: bootstrap
|
20 | -rm -rf node_modules
|
21 |
|