1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00
lazygit/main.go

25 lines
423 B
Go
Raw Normal View History

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