Skip to content

Commit

Permalink
xml文档不跟随程序集移动
Browse files Browse the repository at this point in the history
  • Loading branch information
liesauer committed Oct 25, 2019
1 parent 4f11a49 commit 97ba2e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/beauty.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ func moveDeps(depsFiles []string, mainProgram string) int {
moved++
}

// NOTE: 需要移动附带的pdb、xml文件吗?
// NOTE: pdb、xml文件是跟随程序还是跟随依赖dll?
// NOTE: pdb跟随程序集、xml按照用户习惯做法跟随程序根目录
// TODO: 提供一个选项,自由选择xml:跟随主程序、跟随程序集、跟随两者
fileName := strings.TrimSuffix(path.Base(depsFile), path.Ext(depsFile))
extFiles := []string{".pdb", ".xml"}
extFiles := []string{".pdb" /*, ".xml"*/}
for _, extFile := range extFiles {
oldFile := path.Join(oldPath, fileName+extFile)
newFile := path.Join(newPath, fileName+extFile)
Expand Down

0 comments on commit 97ba2e3

Please sign in to comment.