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