Beispiel #1
0
        private static void CopyBins()
        {
            List <FileData> diffs = new List <FileData>();

            FileColection.Compare(new string[] { Define.UserDefine.global.path.outputBinPath },
                                  new string[] { Define.UserDefine.global.path.tempBinPath },
                                  Define.ConstDefine.BIN_FILE_SUFFIX,
                                  ref diffs);
            Remove(diffs);
            Copy(Define.UserDefine.global.path.outputBinPath, diffs);
        }
Beispiel #2
0
        private static void CopyCSharps()
        {
            if (string.IsNullOrEmpty(Define.UserDefine.global.path.outputCSPath))
            {
                return;
            }

            List <FileData> diffs = new List <FileData>();

            FileColection.Compare(new string[] { Define.UserDefine.global.path.outputCSPath },
                                  new string[] { Define.UserDefine.global.path.tempCSPath,
                                                 Define.UserDefine.global.path.tempNotComplierPath },
                                  "cs",
                                  ref diffs);
            Remove(diffs);
            Copy(Define.UserDefine.global.path.outputCSPath, diffs);
        }