https://github.com/abakum/version
Add `//go:generate go run github.com/abakum/version` so that changes in the `VERSION` file or in the 'winres' directory affect the result of 'go build'
https://github.com/abakum/version
git golang version-control windows winres
Last synced: about 2 months ago
JSON representation
Add `//go:generate go run github.com/abakum/version` so that changes in the `VERSION` file or in the 'winres' directory affect the result of 'go build'
- Host: GitHub
- URL: https://github.com/abakum/version
- Owner: abakum
- License: mit
- Created: 2024-03-28T19:49:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-28T13:57:34.000Z (3 months ago)
- Last Synced: 2026-05-07T01:39:50.739Z (about 2 months ago)
- Topics: git, golang, version-control, windows, winres
- Language: Go
- Homepage:
- Size: 1.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# version
// Add `//go:generate go run 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 go run github.com/abakum/version` в `main.go` чтоб изменения в файле `VERSION`
// а для `Windows` и в каталоге `winres` учитывались при `go build`. После изменений и перед `go build` запускай `go generate`.
# [example](https://github.com/abakum/versionExample)