Browse Source

Adds readme

Stephen McQuay 1 year ago
parent
commit
c41d009d20
Signed by: Stephen McQuay (smcquay) <stephen@mcquay.me> GPG Key ID: C383C74875475AC8
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      README.md

+ 11
- 0
README.md View File

@@ -0,0 +1,11 @@
1
+# vers
2
+
3
+simple project to demonstrate bulding a tool with a compile-time adjusted
4
+value:
5
+
6
+```bash
7
+
8
+$ go install -ldflags=-X=mcquay.me/vers.Version=bleh mcquay.me/vers/cmd/vers
9
+$ vers
10
+version: bleh
11
+```

Loading…
Cancel
Save