kiln/main.go
2020-09-22 21:11:56 -04:00

26 lines
329 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(site.Directory); err != nil {
return err
}
if err := site.Write("dst"); err != nil {
return err
}
return nil
}