mirror of
https://github.com/restic/rest-server.git
synced 2026-04-12 05:01:32 -07:00
build.go: Fix path for new cmd/ subdir
This commit is contained in:
committed by
Zlatko Čalušić
parent
65152c7bf5
commit
90b868dfbc
8
build.go
8
build.go
@@ -28,10 +28,10 @@ var config = struct {
|
|||||||
Main string
|
Main string
|
||||||
Tests []string
|
Tests []string
|
||||||
}{
|
}{
|
||||||
Name: "rest-server", // name of the program executable and directory
|
Name: "rest-server", // name of the program executable and directory
|
||||||
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
|
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
|
||||||
Main: "github.com/restic/rest-server", // package name for the main package
|
Main: "github.com/restic/rest-server/cmd/rest-server", // package name for the main package
|
||||||
Tests: []string{"github.com/restic/rest-server"}, // tests to run
|
Tests: []string{"github.com/restic/rest-server"}, // tests to run
|
||||||
}
|
}
|
||||||
|
|
||||||
// specialDir returns true if the file begins with a special character ('.' or '_').
|
// specialDir returns true if the file begins with a special character ('.' or '_').
|
||||||
|
|||||||
Reference in New Issue
Block a user