Skip to content

Commit 90b868d

Browse files
fd0zcalusic
authored andcommitted
build.go: Fix path for new cmd/ subdir
1 parent 65152c7 commit 90b868d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ var config = struct {
2828
Main string
2929
Tests []string
3030
}{
31-
Name: "rest-server", // name of the program executable and directory
32-
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
33-
Main: "github.com/restic/rest-server", // package name for the main package
34-
Tests: []string{"github.com/restic/rest-server"}, // tests to run
31+
Name: "rest-server", // name of the program executable and directory
32+
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
33+
Main: "github.com/restic/rest-server/cmd/rest-server", // package name for the main package
34+
Tests: []string{"github.com/restic/rest-server"}, // tests to run
3535
}
3636

3737
// specialDir returns true if the file begins with a special character ('.' or '_').

0 commit comments

Comments
 (0)