make-spdx-bindings.sh 363 B

123456789101112
  1. #! /bin/sh
  2. #
  3. # SPDX-License-Identifier: MIT
  4. THIS_DIR="$(dirname "$0")"
  5. VERSION="3.0.1"
  6. shacl2code generate --input https://spdx.org/rdf/$VERSION/spdx-model.ttl \
  7. --input https://spdx.org/rdf/$VERSION/spdx-json-serialize-annotations.ttl \
  8. --context https://spdx.org/rdf/$VERSION/spdx-context.jsonld \
  9. python -o $THIS_DIR/../../meta/lib/oe/spdx30.py