tangled
alpha
login
or
join now
anirudh.fi
/
vite
5
fork
atom
fast and minimal static site generator
ssg
5
fork
atom
overview
issues
1
pulls
pipelines
Move build.go back one package up
anirudh.fi
2 years ago
c6535b7c
3fb201f3
+2
-3
2 changed files
expand all
collapse all
unified
split
commands
build.go
main.go
+1
-1
commands/build/build.go
commands/build.go
···
1
1
-
package build
1
1
+
package commands
2
2
3
3
import (
4
4
"fmt"
+1
-2
main.go
···
5
5
"os"
6
6
7
7
"git.icyphox.sh/vite/commands"
8
8
-
"git.icyphox.sh/vite/commands/build"
9
8
)
10
9
11
10
func main() {
···
39
38
}
40
39
41
40
case "build":
42
42
-
if err := build.Build(); err != nil {
41
41
+
if err := commands.Build(); err != nil {
43
42
fmt.Fprintf(os.Stderr, "error: build: %+v\n", err)
44
43
}
45
44