INNER CODE UNIT · JavaScript

buildHar

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

function buildHar() {
  ensureWrapperProject();

  const devecoRoots = getDevEcoRoots();
  const hvigorwPath = resolveBinary('hvigorw', [
    process.env.HVIGORW_PATH,
    ...devecoRoots.map((root) =>
      path.join(root, 'tools', 'hvigor', 'bin', 'hvigorw')
    ),
  ]);
  const ohpmPath = resolveBinary('ohpm', [
    process.env.OHPM_PATH,
    ...devecoRoots.map((root) =>
      path.join(root, 'tools', 'ohpm', 'bin', 'ohpm')
    ),
  ]);

  if (!hvigorwPath) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…