flamenco/main.go
Sybren A. Stüvel ae1ea0e2bc Initial checkin
2022-01-03 19:51:22 +01:00

23 lines
423 B
Go

package main
import (
"os"
"time"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"stuvel.eu/flamenco-test/goja/job_compilers"
)
func main() {
output := zerolog.ConsoleWriter{Out: os.Stdout, TimeFormat: time.RFC3339}
log.Logger = log.Output(output)
compiler, err := job_compilers.Load()
if err != nil {
log.Fatal().Err(err).Msg("error loading job compilers")
}
compiler.Run("simple-blender-render")
}