2018-05-19 11:16:34 +10:00
|
|
|
package main
|
|
|
|
|
2018-06-02 08:35:49 +10:00
|
|
|
import (
|
2018-08-12 19:31:27 +10:00
|
|
|
"github.com/jesseduffield/lazygit/pkg/app"
|
2018-06-02 08:35:49 +10:00
|
|
|
)
|
|
|
|
|
2022-08-13 12:56:04 +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
|
2022-08-13 12:56:04 +10:00
|
|
|
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() {
|
2022-08-13 12:56:04 +10:00
|
|
|
ldFlagsBuildInfo := &app.BuildInfo{
|
2022-08-09 20:27:44 +10:00
|
|
|
Commit: commit,
|
|
|
|
Date: date,
|
|
|
|
Version: version,
|
|
|
|
BuildSource: buildSource,
|
2022-06-09 19:52:08 +10:00
|
|
|
}
|
|
|
|
|
2022-08-13 12:56:04 +10:00
|
|
|
app.Start(ldFlagsBuildInfo, nil)
|
2022-08-09 21:27:12 +10:00
|
|
|
}
|