예제 #1
0
        public Commands(IStatusInformer logger, string rootPath, string buildPath)
        {
            compiler = new Compiler(logger);
            Logger = logger;

            var config = new Config.Config();
            MobileNetConfig = config.DeSerialize(Directory.GetCurrentDirectory() + "\\MobileNet.config");
            ChangeRootPath(rootPath, buildPath);
        }
예제 #2
0
 public static string ExecuteCommandSyncStatic(string command, bool useShellWindow)
 {
     Compiler c = new Compiler(new DefaultStatusInformer());
     return c.ExecuteCommandSync(command, useShellWindow);
 }