NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 196 forks source link

Ability to have a configuration file for release #1496

Open vjoao opened 8 years ago

vjoao commented 8 years ago

It would be nice if there was a config file like release.json which describes the settings when code-signing an app in release mode:

{
    common: {
          encrypt: true,
          uglify: true
    },
    android: {
          keystore-path: 'path',
          keystore-pwd: 'pwd',
          keystore-alias: 'alias',
          keystore-alias-pwd: 'alias-pwd'
    },
    ios: {
          ...    
    }
}

And then you just have to run tns build android --release to get your app ready for production.

Plamen5kov commented 7 years ago

related to: https://github.com/NativeScript/nativescript-cli/issues/985