INNER CODE UNIT · JavaScript

main

reactnativecn/react-native-update · scripts/build-harmony-har.js:61

function main() {
  let buildError = null;

  // Setup runs inside the guard too: a failed version sync or staging copy
  // must still clean the android-generated staging directory (its own or a
  // stale one from an earlier build) instead of leaving it behind.
  try {
    syncOhPackageVersion();
    syncHarmonyNativeSources();
    buildHar();
  } catch (error) {
    buildError = error;
  }

  try {
    cleanupHarmonyNativeSources();
  } catch (error) {
    if (!buildError) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…