template / commit
fix CI: add cmd/template/main.go missing due to .gitignore pattern
.gitignore | 2 +- cmd/template/main.go | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4a56eb6..c2a406c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ # distributables dist template.exe -template +/template # test test diff --git a/cmd/template/main.go b/cmd/template/main.go new file mode 100644 index 0000000..da8585d --- /dev/null +++ b/cmd/template/main.go @@ -0,0 +1,16 @@ +package main + +import ( + "os" + + log "github.com/sirupsen/logrus" + "gitlab.com/PavelSafronov/template/internal/core" +) + +var Version string + +func main() { + if err := core.Run(os.Args, Version); err != nil { + log.Fatal(err) + } +}