all repos — vite @ c6535b7c59b827e8ff6b172a8779996ef7ee32be

a fast (this time, actually) and minimal static site generator

Move build.go back one package up
Anirudh Oppiliappan x@icyphox.sh
Wed, 24 Jul 2024 01:25:17 +0300
commit

c6535b7c59b827e8ff6b172a8779996ef7ee32be

parent

3fb201f38e7e127f8d2000217cd50c1e723666a7

2 files changed, 2 insertions(+), 3 deletions(-)

jump to
M commands/build/build.gocommands/build.go

@@ -1,4 +1,4 @@

-package build +package commands import ( "fmt"
M main.gomain.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) }