mirror of
https://github.com/hanzoai/build-demo.git
synced 2026-09-30 20:48:40 +00:00
Two things hanzo.app could not build before: nothing here is a container image, so nothing here has a Dockerfile. The declaration is the same hanzo.yml both CI lanes already read. Co-authored-by: Hanzo Dev <[email protected]>
11 lines
317 B
Go
11 lines
317 B
Go
// Command demo is the smallest thing hanzo.app can build that is not a
|
|
// container image: a static Go binary, published by name+digest.
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
// Version is stamped by the build (-ldflags "-X main.Version=…").
|
|
var Version = "dev"
|
|
|
|
func main() { fmt.Printf("hanzo build demo %s\n", Version) }
|