Merge pull request #1 from patrick-werner/master

added bash scripts
This commit is contained in:
Lloyd McKenzie 2019-12-17 09:31:41 -07:00 committed by GitHub
commit 86f9933950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

3
_genonce.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
set -e
java -jar input-cache/org.hl7.fhir.publisher.jar -ig ig.ini

9
_updatePublisher.sh Executable file
View File

@ -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"