Skip to content

Commit

Permalink
chore: import mage commands
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Feb 18, 2024
1 parent a421808 commit c96a610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
dist/
.databend/
coverage/
5 changes: 1 addition & 4 deletions Magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/magefile/mage/mg"
"github.com/magefile/mage/sh"

// mage:import
build "github.com/grafana/grafana-plugin-sdk-go/build"
)

Expand All @@ -38,7 +39,3 @@ func CleanAll() error {
func TestAll() error {
return sh.RunV("go", "test", "./...")
}

func Coverage() error {
return sh.RunV("go", "test", "./...", "-coverprofile=coverage.out")
}

0 comments on commit c96a610

Please sign in to comment.