Skip to content
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

Add license to artifacts and src #93

Merged
merged 2 commits into from
May 13, 2024
Merged

Conversation

ShiinaSekiu
Copy link
Contributor

No description provided.

@CoelacanthusHex
Copy link
Contributor

There are unrelated commits, please rebase onto main.

septs and others added 2 commits May 11, 2024 14:50
@ShiinaSekiu ShiinaSekiu changed the title Add license to artifacts Add license to artifacts and src May 11, 2024
@@ -50,6 +50,10 @@ case "${1:-}" in
make)
cmake "$WORKSPACE"
make -j
cp "$WORKSPACE/src/LICENSE" output/lpac-LICENSE
cp "$WORKSPACE/euicc/LICENSE" output/libeuicc-LICENSE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you forget to upload LICENSE files for /src and /euicc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's already in the project, it's always been there.

@septs
Copy link
Contributor

septs commented May 11, 2024

No need to copy for each switch case

mkdir -p "$BUILD/output"
cp "$WORKSPACE/README.md" "$BUILD/output/README.md"
cp "$WORKSPACE/src/LICENSE" "$BUILD/output/lpac-LICENSE"
cp "$WORKSPACE/euicc/LICENSE" "$BUILD/output/libeuicc-LICENSE"
cp "$WORKSPACE/cjson/LICENSE" "$BUILD/output/cjson-LICENSE"
cp "$WORKSPACE/dlfcn-win32/LICENSE" "$BUILD/output/dlfcn-win32-LICENSE"

but, why not built-in to CMakeLists.txt?

see https://cmake.org/cmake/help/latest/command/file.html#copy

@estkme estkme merged commit 14e07fa into estkme-group:main May 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants