feat: delete cards #6

Closed
dananglin wants to merge 35 commits from delete-cards into main
Showing only changes of commit f25bdcbf84 - Show all commits

View file

@ -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")
}