feat: move a card between statuses #3
1 changed files with 7 additions and 1 deletions
|
@ -11,8 +11,14 @@ import (
|
|||
|
||||
var Default = Build
|
||||
|
||||
var binary = "pelican"
|
||||
|
||||
// Clean clean the workspace
|
||||
func Clean() error {
|
||||
if err := os.Remove(binary); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := sh.Run("go", "clean", "./..."); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -41,5 +47,5 @@ func Test() error {
|
|||
|
||||
// Build build the executable
|
||||
func Build() error {
|
||||
return sh.Run("go", "build", ".")
|
||||
return sh.Run("go", "build", "-o", binary, "main.go")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue