Move build.go back one package up
Anirudh Oppiliappan x@icyphox.sh
Wed, 24 Jul 2024 01:25:17 +0300
2 files changed,
2 insertions(+),
3 deletions(-)
M
commands/build/build.go
→
commands/build.go
@@ -1,4 +1,4 @@
-package build +package commands import ( "fmt"
M
main.go
→
main.go
@@ -5,7 +5,6 @@ "fmt"
"os" "git.icyphox.sh/vite/commands" - "git.icyphox.sh/vite/commands/build" ) func main() {@@ -39,7 +38,7 @@ fmt.Fprintf(os.Stderr, "error: init: %+v\n", err)
} case "build": - if err := build.Build(); err != nil { + if err := commands.Build(); err != nil { fmt.Fprintf(os.Stderr, "error: build: %+v\n", err) }