File tree Expand file tree Collapse file tree 2 files changed +44
-5
lines changed
Expand file tree Collapse file tree 2 files changed +44
-5
lines changed Original file line number Diff line number Diff line change 1+ # Makefile for building the project
2+
3+ app_name =logreader
4+ project_dir =$(CURDIR ) /../$(app_name )
5+ build_dir =$(project_dir ) /build
6+ appstore_dir =$(build_dir ) /appstore
7+ package_name =$(app_name )
8+
9+ all : appstore
10+
11+ clean :
12+ rm -rf $(build_dir )
13+ rm -rf node_modules
14+
15+ install-deps : install-npm-deps
16+
17+ install-npm-deps :
18+ npm install --production
19+
20+ install-npm-deps-dev :
21+ npm install --deps
22+
23+ optimize-js : install-npm-deps install-bower-deps
24+ npm run build
25+
26+ dev-setup : install-npm-deps-dev
27+
28+ appstore : clean install-deps optimize-js package
29+
30+ package :
31+ mkdir -p $(appstore_dir )
32+ tar --exclude-vcs \
33+ --exclude=$(appstore_dir ) \
34+ --exclude=$(project_dir ) /node_modules \
35+ --exclude=$(project_dir ) /webpack \
36+ --exclude=$(project_dir ) /.gitattributes \
37+ --exclude=$(project_dir ) /.gitignore \
38+ --exclude=$(project_dir ) /.travis.yml \
39+ --exclude=$(project_dir ) /.scrutinizer.yml \
40+ --exclude =$(project_dir ) /CONTRIBUTING.md \
41+ --exclude=$(project_dir ) /package.json \
42+ --exclude=$(project_dir ) /Makefile \
43+ -cvzf $(appstore_dir ) /$(package_name ) .tar.gz $(project_dir ) \
44+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments