2017-06-21 23:10:36 +00:00
|
|
|
.PHONY: angular
|
|
|
|
angular:
|
|
|
|
# Test Angular2 build
|
|
|
|
cp package.json-angular2 package.json
|
|
|
|
npm install
|
2017-07-27 20:07:51 +00:00
|
|
|
if [ ! -e node_modules ]; then mkdir node_modules; fi
|
|
|
|
if [ ! -e node_modules/xlsx ]; then cd node_modules; ln -s ../../../ xlsx; cd -; fi
|
2017-06-21 23:10:36 +00:00
|
|
|
ng build
|
|
|
|
|
|
|
|
# Test Angular4 build
|
2017-07-27 20:07:51 +00:00
|
|
|
cp package.json-angular4 package.json
|
2017-06-21 23:10:36 +00:00
|
|
|
npm install
|
2017-07-27 20:07:51 +00:00
|
|
|
if [ ! -e node_modules ]; then mkdir node_modules; fi
|
|
|
|
if [ ! -e node_modules/xlsx ]; then cd node_modules; ln -s ../../../ xlsx; cd -; fi
|
2017-06-21 23:10:36 +00:00
|
|
|
ng build
|
|
|
|
|
2017-11-05 19:18:35 +00:00
|
|
|
# Test Angular5 build
|
|
|
|
cp package.json-angular5 package.json
|
|
|
|
npm install
|
|
|
|
if [ ! -e node_modules ]; then mkdir node_modules; fi
|
|
|
|
if [ ! -e node_modules/xlsx ]; then cd node_modules; ln -s ../../../ xlsx; cd -; fi
|
|
|
|
ng build
|
|
|
|
|