blob: 88ee625a4127bac180c2d534fcfe8e73809b1a7c (
plain)
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
|
.PHONY: build test run clean
test:
@echo Checking for style guide compliance
npm run check
.npminstall: package.json
@echo Getting dependencies using npm
npm install
touch $@
build: | .npminstall test
@echo Building mattermost Webapp
npm run build
run: .npminstall
@echo Running mattermost Webapp for development
npm run run
clean:
@echo Cleaning Webapp
rm -rf dist
rm -rf node_modules
rm .npminstall
|