diff --git a/build-and-deploy.sh b/build-and-deploy.sh index 8e2c64c..99bbc00 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -1,8 +1,12 @@ #!/usr/bin/env bash +# Build and deploy script for deploying this service to my VPS. Note that +# you'll need SSH authentication to run this. +# I just include it here for ease of use. + dub clean rm -f web-logbook -dub build --build=release +dub build --build=release --compiler=/opt/ldc2/ldc2-1.33.0-linux-x86_64/bin/ldc2 echo "Stopping web-logbook service." ssh -f root@andrewlalis.com 'systemctl stop web-logbook' echo "Uploading new binary." diff --git a/dub.json b/dub.json index 51dee3b..6a571f6 100644 --- a/dub.json +++ b/dub.json @@ -6,7 +6,7 @@ "dependencies": { "d-properties": "~>1.0.4", "d2sqlite3": "~>1.0.0", - "handy-httpd": "~>7.6.4" + "handy-httpd": "~>7.7.0" }, "subConfigurations": { "d2sqlite3": "all-included" diff --git a/dub.selections.json b/dub.selections.json index d31581d..9a262c4 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "d-properties": "1.0.4", "d2sqlite3": "1.0.0", - "handy-httpd": "7.6.4", + "handy-httpd": "7.7.0", "httparsed": "1.2.1", "slf4d": "2.4.2", "streams": "3.5.0"