BD-Core-FHIR-IG/_updatePublisher.sh
2019-09-12 22:20:38 -04:00

10 lines
377 B
Bash
Executable File

#!/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"