Build Checkpoints
When building with frizzante build or frizzante dev , you're also executing 2 additional programs, before and after the
build process. These 2 programs are referred to as pre build checkpoint and post build checkpoint. Pre Build Checkpoint
The pre build checkpoint is a program that lives in ./pre/main.go and is executed automatically by frizzante build right before building your main program. package main
func main() {
println("this is the pre build checkpoint!")
} You can also invoke the pre build checkpoint directly with frizzante prebuild . frizzante prebuild
#this is the pre build checkpoint!
Post Build Checkpoint
The post build checkpoint is a program that lives in ./post/main.go and is executed automatically by frizzante build right after building your main program. package main
func main() {
println("this is the post build checkpoint!")
} You can also invoke the post build checkpoint directly with frizzante postbuild . frizzante postbuild
#this is the post build checkpoint!