summaryrefslogtreecommitdiff
path: root/magefile.go
blob: 7831703b6b4aba17d012147c86db4cbfd6e218e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//go:build mage
// +build mage

package main

import (
	"github.com/magefile/mage/sh"
)

// Default target to run when none is specified
// If not set, running mage will list available targets
var Default = Test

// Run the unit tests
func Test() error {
	return sh.RunV("go", "test", "-v", "./...")
}