kiln/main.go
2020-09-22 19:46:30 -04:00

26 lines
315 B
Go

package main
import (
"log"
)
func main() {
if err := run(); err != nil {
log.Fatal(err)
}
}
func run() error {
site, err := LoadSite("src")
if err != nil {
return err
}
if err := site.Manipulate(); err != nil {
return err
}
if err := site.Write("dst"); err != nil {
return err
}
return nil
}