From b5f7184f159dd30c6e0c4748f4a7c44c0eda1fba Mon Sep 17 00:00:00 2001 From: Rodolfo Silva Date: Tue, 27 Jun 2017 22:21:10 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=20configura=C3=A7=C3=B5es=20e=20script?= =?UTF-8?q?=20de=20gera=C3=A7=C3=A3o=20de=20releases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.xml | 128 +++++++++++++++++++-------------------- package.json | 148 +++++++++++++++++++++++++-------------------- release_android.sh | 4 +- 3 files changed, 148 insertions(+), 132 deletions(-) diff --git a/config.xml b/config.xml index 78c933d..a9ab9b5 100644 --- a/config.xml +++ b/config.xml @@ -1,65 +1,65 @@ - - - DeVry Calc - Calcula as notas dos alunos da DeVry. - Rodolfo Silva - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + DeVry Calc + Calcula as notas dos alunos da DeVry. + Rodolfo Silva + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/package.json b/package.json index 8b50da3..81083f5 100644 --- a/package.json +++ b/package.json @@ -1,67 +1,83 @@ { - "name": "devry-calc", - "author": "Rodolfo Silva", - "homepage": "http://rodolfosilva.com/", - "private": true, - "scripts": { - "clean": "ionic-app-scripts clean", - "build": "ionic-app-scripts build", - "ionic:build": "ionic-app-scripts build", - "ionic:serve": "ionic-app-scripts serve", - "e2e": "ionic-app-scripts build && protractor", - "postinstall": "webdriver-manager update", - "test": "ng test", - "test-coverage": "ng test --code-coverage", - "test-ci": "ng test --single-run --watch=false --code-coverage" - }, - "dependencies": { - "@angular/common": "4.0.2", - "@angular/compiler": "4.0.2", - "@angular/compiler-cli": "4.0.2", - "@angular/core": "4.0.2", - "@angular/forms": "4.0.2", - "@angular/http": "4.0.2", - "@angular/platform-browser": "4.0.2", - "@angular/platform-browser-dynamic": "4.0.2", - "@ionic-native/core": "3.6.1", - "@ionic-native/splash-screen": "3.6.1", - "@ionic-native/status-bar": "3.6.1", - "@ionic/storage": "2.0.1", - "ionic-angular": "3.1.1", - "ionicons": "3.0.0", - "rxjs": "5.1.1", - "sw-toolbox": "3.4.0", - "zone.js": "0.8.10" - }, - "devDependencies": { - "@angular/cli": "1.0.1", - "@angular/router": "4.0.2", - "@ionic/app-scripts": "1.3.7", - "@ionic/cli-plugin-cordova": "1.3.0", - "@ionic/cli-plugin-ionic-angular": "1.3.0", - "@types/jasmine": "2.5.41", - "@types/node": "7.0.5", - "jasmine-core": "2.5.2", - "jasmine-spec-reporter": "3.2.0", - "karma": "1.5.0", - "karma-chrome-launcher": "2.0.0", - "karma-cli": "1.0.1", - "karma-coverage-istanbul-reporter": "0.3.0", - "karma-jasmine": "1.1.0", - "karma-jasmine-html-reporter": "0.2.2", - "protractor": "5.1.1", - "protractor-screenshoter-plugin": "0.3.2", - "ts-node": "2.1.0", - "typescript": "2.2.1" - }, - "cordovaPlugins": [ - "cordova-plugin-whitelist", - "cordova-plugin-statusbar", - "cordova-plugin-console", - "cordova-plugin-device", - "cordova-plugin-splashscreen", - "ionic-plugin-keyboard" - ], - "cordovaPlatforms": [], - "description": "Calculadora de notas para alunos da DeVry" -} + "name": "devry-calc", + "author": "Rodolfo Silva", + "homepage": "http://rodolfosilva.com/", + "private": true, + "scripts": { + "clean": "ionic-app-scripts clean", + "build": "ionic-app-scripts build", + "ionic:build": "ionic-app-scripts build", + "ionic:serve": "ionic-app-scripts serve", + "e2e": "ionic-app-scripts build && protractor", + "postinstall": "webdriver-manager update", + "test": "ng test", + "test-coverage": "ng test --code-coverage", + "test-ci": "ng test --single-run --watch=false --code-coverage" + }, + "dependencies": { + "@angular/common": "4.0.2", + "@angular/compiler": "4.0.2", + "@angular/compiler-cli": "4.0.2", + "@angular/core": "4.0.2", + "@angular/forms": "4.0.2", + "@angular/http": "4.0.2", + "@angular/platform-browser": "4.0.2", + "@angular/platform-browser-dynamic": "4.0.2", + "@ionic-native/core": "3.6.1", + "@ionic-native/splash-screen": "3.6.1", + "@ionic-native/status-bar": "3.6.1", + "@ionic/storage": "2.0.1", + "ionic-angular": "3.1.1", + "ionicons": "3.0.0", + "rxjs": "5.1.1", + "sw-toolbox": "3.4.0", + "zone.js": "0.8.10", + "cordova-plugin-console": "1.0.5", + "cordova-plugin-device": "1.1.4", + "cordova-plugin-splashscreen": "~4.0.1", + "cordova-plugin-statusbar": "2.2.1", + "cordova-plugin-whitelist": "1.3.1", + "ionic-plugin-keyboard": "~2.2.1" + }, + "devDependencies": { + "@angular/cli": "1.0.1", + "@angular/router": "4.0.2", + "@ionic/app-scripts": "1.3.7", + "@ionic/cli-plugin-cordova": "1.3.0", + "@ionic/cli-plugin-ionic-angular": "1.3.0", + "@types/jasmine": "2.5.41", + "@types/node": "7.0.5", + "jasmine-core": "2.5.2", + "jasmine-spec-reporter": "3.2.0", + "karma": "1.5.0", + "karma-chrome-launcher": "2.0.0", + "karma-cli": "1.0.1", + "karma-coverage-istanbul-reporter": "0.3.0", + "karma-jasmine": "1.1.0", + "karma-jasmine-html-reporter": "0.2.2", + "protractor": "5.1.1", + "protractor-screenshoter-plugin": "0.3.2", + "ts-node": "2.1.0", + "typescript": "2.2.1" + }, + "cordovaPlugins": [ + "cordova-plugin-whitelist", + "cordova-plugin-statusbar", + "cordova-plugin-console", + "cordova-plugin-device", + "cordova-plugin-splashscreen", + "ionic-plugin-keyboard" + ], + "cordovaPlatforms": [], + "description": "Calculadora de notas para alunos da DeVry", + "cordova": { + "plugins": { + "cordova-plugin-console": {}, + "cordova-plugin-device": {}, + "cordova-plugin-splashscreen": {}, + "cordova-plugin-statusbar": {}, + "cordova-plugin-whitelist": {}, + "ionic-plugin-keyboard": {} + } + } +} \ No newline at end of file diff --git a/release_android.sh b/release_android.sh index 4dc3c6b..c5d4a41 100755 --- a/release_android.sh +++ b/release_android.sh @@ -22,8 +22,8 @@ then rm $releaseFile fi -echo "ionic build android --release" -ionic build android --release --$apkEnv +echo "ionic cordova build android --release" +ionic cordova build android --release --$apkEnv jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore key/devry-calc.keystore -storepass 0p9o8i7u -keypass 0p9o8i7u platforms/android/build/outputs/apk/android-release-unsigned.apk devry_calc jarsigner -verify -verbose -certs platforms/android/build/outputs/apk/android-release-unsigned.apk