Adds a script to generate the SPDX code bindings Signed-off-by: Joshua Watt <jpewhac...@gmail.com> --- scripts/contrib/make-spdx-bindings.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/contrib/make-spdx-bindings.sh
diff --git a/scripts/contrib/make-spdx-bindings.sh b/scripts/contrib/make-spdx-bindings.sh new file mode 100755 index 00000000000..31caaf339d3 --- /dev/null +++ b/scripts/contrib/make-spdx-bindings.sh @@ -0,0 +1,12 @@ +#! /bin/sh +# +# SPDX-License-Identifier: MIT + +THIS_DIR="$(dirname "$0")" + +VERSION="3.0.1" + +shacl2code generate --input https://spdx.org/rdf/$VERSION/spdx-model.ttl \ + --input https://spdx.org/rdf/$VERSION/spdx-json-serialize-annotations.ttl \ + --context https://spdx.org/rdf/$VERSION/spdx-context.jsonld \ + python -o $THIS_DIR/../../meta/lib/oe/spdx30.py -- 2.46.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205034): https://lists.openembedded.org/g/openembedded-core/message/205034 Mute This Topic: https://lists.openembedded.org/mt/108688996/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-