mirror of
https://github.com/restic/rest-server.git
synced 2026-09-26 22:11:37 -07:00
build.go: Also copy header files
https://github.com/restic/restic/commit/e6ca604d24e58e79a5034ac9427496771df69ad0
This commit is contained in:
@@ -49,7 +49,7 @@ func specialDir(name string) bool {
|
|||||||
// excludePath returns true if the file should not be copied to the new GOPATH.
|
// excludePath returns true if the file should not be copied to the new GOPATH.
|
||||||
func excludePath(name string) bool {
|
func excludePath(name string) bool {
|
||||||
ext := path.Ext(name)
|
ext := path.Ext(name)
|
||||||
if ext == ".go" || ext == ".s" {
|
if ext == ".go" || ext == ".s" || ext == ".h" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user