diff options
-rwxr-xr-x | scripts/contrib/make-spdx-bindings.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/contrib/make-spdx-bindings.sh b/scripts/contrib/make-spdx-bindings.sh new file mode 100755 index 0000000000..31caaf339d --- /dev/null +++ b/scripts/contrib/make-spdx-bindings.sh | |||
@@ -0,0 +1,12 @@ | |||
1 | #! /bin/sh | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | THIS_DIR="$(dirname "$0")" | ||
6 | |||
7 | VERSION="3.0.1" | ||
8 | |||
9 | shacl2code generate --input https://spdx.org/rdf/$VERSION/spdx-model.ttl \ | ||
10 | --input https://spdx.org/rdf/$VERSION/spdx-json-serialize-annotations.ttl \ | ||
11 | --context https://spdx.org/rdf/$VERSION/spdx-context.jsonld \ | ||
12 | python -o $THIS_DIR/../../meta/lib/oe/spdx30.py | ||