コード例 #1
0
ファイル: Commands.cs プロジェクト: pabloat81/MobileNet
        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
ファイル: Compiler.cs プロジェクト: pabloat81/MobileNet
 public static string ExecuteCommandSyncStatic(string command, bool useShellWindow)
 {
     Compiler c = new Compiler(new DefaultStatusInformer());
     return c.ExecuteCommandSync(command, useShellWindow);
 }