12 lines
201 B
Markdown
12 lines
201 B
Markdown
|
# vers
|
||
|
|
||
|
simple project to demonstrate bulding a tool with a compile-time adjusted
|
||
|
value:
|
||
|
|
||
|
```bash
|
||
|
|
||
|
$ go install -ldflags=-X=mcquay.me/vers.Version=bleh mcquay.me/vers/cmd/vers
|
||
|
$ vers
|
||
|
version: bleh
|
||
|
```
|