react-native-navigation的迁移库

123456789101112131415
  1. /* eslint no-console:0 */
  2. const exec = require('shell-utils').exec;
  3. async function run() {
  4. exec.execSync(`yarn run clean`);
  5. exec.execSync(`yarn run test-js`);
  6. exec.execAsyncSilent(`yarn run start`);
  7. await exec.execAsyncAll(`yarn run test-unit-android`, `yarn run test-unit-ios`);
  8. await exec.execAsyncAll(`yarn run test-e2e-android`, `yarn run test-e2e-ios`);
  9. exec.execSync(`yarn run clean`);
  10. console.log('ALL PASSED!!!');
  11. }
  12. run();