diff --git a/.gitignore b/.gitignore index 538c185..16163bd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ environment.sh .DS_Store .idea/ /src/Notify.Tests/Notify.Tests.csproj.user +.env \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b57ea94..af37115 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,11 +17,11 @@ docker build -t fsnetcore . You can then run tests or anything else through docker as follows: ``` -docker run -v (pwd):/src -w /src --env-file .env -it fsnetcore [COMMAND] +docker run -v $(pwd):/src -w /src --env-file .env -it fsnetcore [COMMAND] -docker run -v (pwd):/src -w /src --env-file .env -it fsnetcore make build -docker run -v (pwd):/src -w /src --env-file .env -it fsnetcore make build-test -docker run -v (pwd):/src -w /src --env-file .env -it fsnetcore make build-package +docker run -v $(pwd):/src -w /src --env-file .env -it fsnetcore make build +docker run -v $(pwd):/src -w /src --env-file .env -it fsnetcore make build-test +docker run -v $(pwd):/src -w /src --env-file .env -it fsnetcore make build-package ``` ## Tests diff --git a/Dockerfile b/Dockerfile index 0a8e1ad..4fca271 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM fsharp:netcore +FROM fsharp:10.2.3-netcore RUN apt-get update && apt-get --no-install-recommends install -y make diff --git a/src/Notify.Tests/Notify.Tests.csproj b/src/Notify.Tests/Notify.Tests.csproj index 7e5a19e..9d162f9 100644 --- a/src/Notify.Tests/Notify.Tests.csproj +++ b/src/Notify.Tests/Notify.Tests.csproj @@ -19,4 +19,8 @@ + + + + diff --git a/src/Notify/Notify.csproj b/src/Notify/Notify.csproj index b232b5c..d10ae3e 100644 --- a/src/Notify/Notify.csproj +++ b/src/Notify/Notify.csproj @@ -3,7 +3,7 @@ PackageReference netstandard2.0;netcoreapp2.0;net462 - 2.7.0 + 2.7.1 Notify.gov.au, GOV.UK Notify Notify.gov.au Notify.gov.au .NET client @@ -27,7 +27,7 @@ - +