File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ build_dir=$(project_dir)/build
66appstore_dir =$(build_dir ) /appstore
77package_name =$(app_name )
88
9- sources =$(wildcard js/* ) $(wildcard js/* /* )
9+ jssources =$(wildcard js/* ) $(wildcard js/* /* )
10+ othersources =$(wildcard appinfo/* ) $(wildcard css/* /* ) $(wildcard controller/* /* ) $(wildcard templates/* /* ) $(wildcard log/* /* )
1011
1112all : build/main.js
1213
@@ -17,13 +18,13 @@ clean:
1718node_modules : package.json
1819 npm install --deps
1920
20- build/main.js : node_modules $(sources )
21+ build/main.js : node_modules $(jssources )
2122 npm run build
2223
2324appstore : clean build/main.js package
2425
2526package : build/appstore/$(package_name ) .tar.gz
26- build/appstore/$(package_name ) .tar.gz : build/main.js
27+ build/appstore/$(package_name ) .tar.gz : build/main.js $( othersources )
2728 mkdir -p $(appstore_dir )
2829 tar --exclude-vcs \
2930 --exclude=$(appstore_dir ) \
You can’t perform that action at this time.
0 commit comments