code: function linkPackages(dstPacksDir) {
    if (!dstPacksDir) {
      dstPacksDir = Path.resolve(rootDir, "packages");
    }
    else {
      dstPacksDir = Path.resolve(cwd, dstPacksDir);
    }
  
    // Ensure destination dir
    try {
      Fs.mkdirSync(dstPacksDir);
    }
    catch (_) {}
  
    var packNames = Fs.readdirSync(srcPacksDir);
  
    // Ensure symlinks
    packNames.forEach(function (packName) {
      var dstPackDir = Path.resolve(dstPacksDir, packName);
      var linkPath = Path.relative(dstPacksDir, Path.resolve(srcPacksDir, packName));
  
      try {
        Fs.symlinkSync(linkPath, dstPackDir);
      }
      catch (_) {}
    });
  
    console.log();
    console.log("Packages have been successfully linked at:")
    console.log();
    console.log("    " + dstPacksDir);
    console.log();
  }
docs: Creates a symlink for each native package.
  @param dstPacksDir - Synlinks' output dir. Defaults to 'packages' dir.