Skip to content
/ version Public

Add `//go:generate version` to `main.go` so that changes in the `VERSION` file or in the 'winres' directory affect the result of 'go build'

License

Notifications You must be signed in to change notification settings

abakum/version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 13, 2024
5082992 · Jul 13, 2024

History

17 Commits
Apr 16, 2024
Apr 9, 2024
Apr 2, 2024
Apr 9, 2024
Mar 28, 2024
Apr 16, 2024
Jul 13, 2024
Jul 13, 2024
Apr 9, 2024
Apr 2, 2024
Apr 16, 2024

Repository files navigation

version

Add //go:generate version or //go:generate github.com/abakum/version to main.go so that changes in the VERSION file, and for Windows in the 'winres' directory, affect the result of 'go build'. After the changes and before go build, run go generate.

Добавь //go:generate version или //go:generate github.com/abakum/version в main.go чтоб изменения в файле VERSION, а для Windows и в каталоге winres, учитывались при go build. После изменений и перед go build запускай go generate.

About

Add `//go:generate version` to `main.go` so that changes in the `VERSION` file or in the 'winres' directory affect the result of 'go build'

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages