Commit 236d2ef2 authored by Trevor Slocum's avatar Trevor Slocum

Copy all source file types

parent bbef4212
Pipeline #115706177 passed with stages
in 2 minutes and 18 seconds
......@@ -247,7 +247,20 @@ func main() {
// TODO Handle temp directory not existing
buf.Reset()
listCmd := exec.Command("go", "list", "-find", "-f", `{{ join .GoFiles "\n" }}`, pkg)
listCmd := exec.Command("go", "list", "-find", "-f",
`{{ join .GoFiles "\n" }}`+"\n"+
`{{ join .CgoFiles "\n" }}`+"\n"+
`{{ join .CFiles "\n" }}`+"\n"+
`{{ join .CXXFiles "\n" }}`+"\n"+
`{{ join .MFiles "\n" }}`+"\n"+
`{{ join .HFiles "\n" }}`+"\n"+
`{{ join .FFiles "\n" }}`+"\n"+
`{{ join .SFiles "\n" }}`+"\n"+
`{{ join .SwigFiles "\n" }}`+"\n"+
`{{ join .SwigCXXFiles "\n" }}`+"\n"+
`{{ join .TestGoFiles "\n" }}`+"\n"+
`{{ join .XTestGoFiles "\n" }}`,
pkg)
listCmd.Dir = tmpDir
listCmd.SysProcAttr = &syscall.SysProcAttr{
Pdeathsig: syscall.SIGKILL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment