fix: make build not default
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
abs3nt 2023-03-05 16:00:54 -08:00
parent 5a2ae44e73
commit 65b222db8d
3 changed files with 1 additions and 4 deletions

View File

@ -31,7 +31,7 @@ func init() {
startCmd.Flags().BoolVarP(&startConfig.Server, "server", "s", false, "Start server") startCmd.Flags().BoolVarP(&startConfig.Server, "server", "s", false, "Start server")
startCmd.Flags().BoolVarP(&startConfig.Open, "open", "o", false, "Open into the default browser") startCmd.Flags().BoolVarP(&startConfig.Open, "open", "o", false, "Open into the default browser")
startCmd.Flags().BoolVarP(&startConfig.Install, "install", "i", true, "Enable go install") startCmd.Flags().BoolVarP(&startConfig.Install, "install", "i", true, "Enable go install")
startCmd.Flags().BoolVarP(&startConfig.Build, "build", "b", true, "Enable go build") startCmd.Flags().BoolVarP(&startConfig.Build, "build", "b", false, "Enable go build")
startCmd.Flags().BoolVarP(&startConfig.Run, "run", "r", true, "Enable go run") startCmd.Flags().BoolVarP(&startConfig.Run, "run", "r", true, "Enable go run")
startCmd.Flags().BoolVarP(&startConfig.Legacy, "legacy", "l", false, "Legacy watch by polling instead fsnotify") startCmd.Flags().BoolVarP(&startConfig.Legacy, "legacy", "l", false, "Legacy watch by polling instead fsnotify")
startCmd.Flags().BoolVarP(&startConfig.NoConfig, "no-config", "c", false, "Ignore existing config and doesn't create a new one") startCmd.Flags().BoolVarP(&startConfig.NoConfig, "no-config", "c", false, "Ignore existing config and doesn't create a new one")

BIN
haunt Executable file

Binary file not shown.

View File

@ -93,9 +93,6 @@ func (r *Haunt) SetDefaults() {
Install: Tool{ Install: Tool{
Status: true, Status: true,
}, },
Build: Tool{
Status: true,
},
Run: Tool{ Run: Tool{
Status: true, Status: true,
}, },