build function

Future<void> build()

Implementation

Future<void> build() async {
  try {
    var packageRoot = Directory.current.path;
    var root = rootFromJson(
        loadYaml('$packageRoot${Platform.pathSeparator}remote.yaml'));
    await Future.forEach<RemoteLab>(root.projects, (node) async {
      await deepSearch(node, packageRoot, root.host);
    });
  } on FormatYamlException {
  } catch (e, stack) {
    print('build -> $stack');
  }
}