Skip to content

Commit 97140ed

Browse files
committed
Add note about building
1 parent cda9920 commit 97140ed

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
- [Running](#running)
1010
- [Configuration](#configuration)
1111
- [Azure prerequisites](#azure-prerequisites)
12-
- [Releasing](#releasing)
12+
- [Contributing](#contributing)
13+
- [Building](#building)
14+
- [Releasing](#releasing)
1315

1416
A helper utility to make it easier to get a JSON Web Token (JWT) from a given service. Currently only Azure AD is supported.
1517

@@ -84,7 +86,23 @@ There is some initial setup we need to do in App Registrations if this is the fi
8486
- Remain on the same Authentication tab
8587
- Under **Advanced settings** at the bottom, toggle the slider for **Allow public client flows** to `Yes`
8688

87-
## Releasing
89+
## Contributing
90+
91+
### Building
92+
93+
To build a binary locally in this folder at `./get-jwt`, run:
94+
95+
```
96+
go build .
97+
```
98+
99+
To test new changes without making a build artifact:
100+
101+
```
102+
go run main.go <any subcommands or flags here>
103+
```
104+
105+
### Releasing
88106

89107
The Github Actions to run goreleaser are triggered by a push of a tag. Example:
90108

0 commit comments

Comments
 (0)