-
Notifications
You must be signed in to change notification settings - Fork 776
chore: support x-platform licence generation #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds cross-platform license generation support by introducing separate dependency listings for Windows and Linux builds.
- Added a new license listing file for the Windows platform.
- Added a new license listing file for the Linux platform.
Reviewed Changes
Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.
File | Description |
---|---|
third-party-licenses.windows.md | Adds dependency license details specific to Windows. |
third-party-licenses.linux.md | Adds dependency license details specific to Linux. |
Files not reviewed (3)
- script/licenses: Language not supported
- third-party/github.com/inconshreveable/mousetrap/LICENSE: Language not supported
- third-party/golang.org/x/sys/windows/LICENSE: Language not supported
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
005fbdd
to
17b20f2
Compare
trap "rm -fr ${TEMPDIR}" EXIT | ||
|
||
for goos in linux darwin windows ; do | ||
GOOS="${goos}" go-licenses save ./... --save_path="${TEMPDIR}/${goos}" --force || echo "Ignore warnings" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's nice you can just use GOOS
ad6fb1d
to
13ecc85
Compare
13ecc85
to
9ddb049
Compare
Closes: #93
Generate licences/attribution for all platforms we build for.