diff --git a/_genonce.sh b/_genonce.sh new file mode 100755 index 0000000..55f4e58 --- /dev/null +++ b/_genonce.sh @@ -0,0 +1,3 @@ +#!/bin/bash +set -e +java -jar input-cache/org.hl7.fhir.publisher.jar -ig ig.ini diff --git a/_updatePublisher.sh b/_updatePublisher.sh new file mode 100755 index 0000000..55d2c0a --- /dev/null +++ b/_updatePublisher.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e +if ! type "curl" > /dev/null; then + echo "ERROR: Script needs curl to download latest IG Publisher. Please install curl." + exit 1 +fi +echo "Downloading most recent publisher - it's ~100 MB, so this may take a bit" +curl https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar -o input-cache/org.hl7.fhir.publisher.jar --create-dirs +echo "Done"