react-native-navigation的迁移库

install-android.js 270B

1234567891011
  1. const includes = require('lodash/includes')
  2. const exec = require('shell-utils').exec;
  3. const release = includes(process.argv, '--release');
  4. run();
  5. function run() {
  6. exec.execSync(`cd playground/android && ./gradlew ${release ? 'installRelease' : 'installDebug'}`);
  7. }