sheetjs-clone/demos/angular2/Makefile
SheetJS 3f6f8e93ed version bump 0.11.8: CFB 1.0.0
- travis node 9 test
- demo refresh
2017-11-05 14:18:35 -05:00

24 lines
703 B
Makefile

.PHONY: angular
angular:
# Test Angular2 build
cp package.json-angular2 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
# Test Angular4 build
cp package.json-angular4 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
# 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