Add todo
This commit is contained in:
parent
a9f59c0ab3
commit
26ff6ec7a4
|
@ -192,12 +192,14 @@ func Lint() {
|
|||
|
||||
// Generates static content into the final binary
|
||||
func Generate() error {
|
||||
// TODO: use runAndStreamOutput
|
||||
return exec.Command("go", "generate", PACKAGE+"/pkg/static").Run()
|
||||
}
|
||||
|
||||
// Builds a vikunja binary, ready to run.
|
||||
func Build() error {
|
||||
mg.Deps(Generate)
|
||||
// TODO: use runAndStreamOutput
|
||||
cmd := exec.Command("go", "build", Goflags[0], "-tags", Tags, "-ldflags", "-s -w "+Ldflags, "-o", Executable)
|
||||
fmt.Println(cmd.String())
|
||||
out, err := cmd.CombinedOutput()
|
||||
|
|
Loading…
Reference in New Issue