1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Files
mage/bootstrap.go
Nate Finch 791a5b4079 Support Tab Completion (#551)
* add tab completion output and make mage -l no longer compile the whole code
2026-04-22 12:53:37 -04:00

20 lines
363 B
Go

//go:build ignore
package main
import (
"os"
"github.com/magefile/mage/mage"
)
// This is a bootstrap builder, to build mage when you don't already *have* mage.
// Run it like
// go run bootstrap.go
// and it will install mage with all the right flags created for you.
func main() {
os.Args = []string{os.Args[0], "-v", "install"}
os.Exit(mage.Main())
}