1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-20 05:19:24 +02:00
lazygit/main.go

25 lines
423 B
Go
Raw Normal View History

2018-05-19 11:16:34 +10:00
package main
2018-06-02 08:35:49 +10:00
import (
"github.com/jesseduffield/lazygit/pkg/app"
2018-06-02 08:35:49 +10:00
)
// These values may be set by the build script via the LDFLAGS argument
2018-06-05 19:30:55 +10:00
var (
2018-08-25 15:55:49 +10:00
commit string
date string
version string
2018-08-25 15:55:49 +10:00
buildSource = "unknown"
2018-06-05 19:30:55 +10:00
)
2018-05-27 16:32:09 +10:00
2018-05-19 11:16:34 +10:00
func main() {
ldFlagsBuildInfo := &app.BuildInfo{
2022-08-09 20:27:44 +10:00
Commit: commit,
Date: date,
Version: version,
BuildSource: buildSource,
}
app.Start(ldFlagsBuildInfo, nil)
}