compileProtos function
Implementation
Future<bool> compileProtos({
String path = '',
}) async {
var workDir = path;
if (path == '') {
workDir = Directory.current.path + '/';
} else {
workDir = path;
}
print('loading upper.json');
return loadJson(workDir + 'upper.json').fold(
(l) {
print(l);
return false;
},
(r) {
return executeCompileProtos(
r,
path: workDir,
);
},
);
}