Skip to content

Commit a6d670f

Browse files
committed
add task to print the yocto licensing string
1 parent 49dc689 commit a6d670f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ build-test:
4747
# Run tests
4848
test *args='':
4949
./.venv/bin/python3 -m robot.run --outputdir output {{args}} tests
50+
51+
# Print yocto licensing string
52+
print-yocto-licenses:
53+
@echo 'LIC_FILES_CHKSUM = " \'
54+
@find vendor -name "LICENSE*" -exec bash -c 'echo -n " file://src/github.com/thin-edge/tedge-container-plugin/{};md5=" && md5 -q {}' \; 2>/dev/null | sed 's|$| \\|g'
55+
@echo '"'

0 commit comments

Comments
 (0)