chore: move main.go to cmd/spruce
In preparation for additional binaries that may or may not appear.
This commit is contained in:
parent
93da4f6648
commit
d0d03f48b7
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -44,4 +44,4 @@ tags
|
|||
|
||||
cv.pdf
|
||||
cv.json
|
||||
spruce
|
||||
/spruce
|
||||
|
|
|
@ -22,7 +22,7 @@ var (
|
|||
// Build builds the binary.
|
||||
func Build() error {
|
||||
flags := ldflags()
|
||||
return sh.Run("go", "build", "-ldflags="+flags, "-a", "-o", binary, ".")
|
||||
return sh.Run("go", "build", "-ldflags="+flags, "-a", "-o", binary, "./cmd/spruce")
|
||||
}
|
||||
|
||||
// Install installs the binary to the execution path.
|
||||
|
|
Loading…
Reference in a new issue