Skip to content

Commit

Permalink
Merge pull request #225 from buildkite/tet-443/add-bktec-logo
Browse files Browse the repository at this point in the history
Add logo to startup
  • Loading branch information
niceking authored Nov 19, 2024
2 parents 7301e6b + bc1a29a commit 08a3375
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ import (

var Version = ""

const Logo = `
______ ______ _____
___ /____ /___ /____________
__ __ \_ //_/ __/ _ \ ___/
_ /_/ / ,< / /_ / __/ /__
/_.___//_/|_| \__/ \___/\___/
`

func printStartUpMessage() {
const green = "\033[32m"
const reset = "\033[0m"
fmt.Println(green + Logo + reset)
fmt.Println("Buildkite Test Engine Client: bktec " + Version + "\n")
}

type TestRunner interface {
Run(testCases []plan.TestCase, retry bool) (runner.RunResult, error)
GetExamples(files []string) ([]plan.TestCase, error)
Expand All @@ -42,6 +57,8 @@ func main() {
os.Exit(0)
}

printStartUpMessage()

// get config
cfg, err := config.New()
if err != nil {
Expand Down

0 comments on commit 08a3375

Please sign in to comment.