react-native-navigation的迁移库

test-unit-android.js 260B

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