This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
oriment/scripts/build

19 lines
397 B
Text
Raw Normal View History

2015-12-19 21:32:22 +00:00
#!/usr/bin/env bash
set -e
echo ">> Installing NPM Packages..."
2015-12-19 21:53:41 +00:00
if [ -z "$IN_TEST" ]; then
npm install -g cordova ionic # CircleCI can't find it otherwise
fi
2015-12-19 22:05:45 +00:00
npm install
echo ">> Building Application source..."
2015-12-19 21:32:22 +00:00
npm run build
2015-12-19 21:46:38 +00:00
echo ">> Installing cordova platforms..."
2015-12-19 21:46:38 +00:00
cordova platform add android
echo ">> Installing cordova plugins..."
cordova plugin add cordova-plugin-device-orientation