diff --git a/src/Api/build.ps1 b/src/Api/build.ps1 new file mode 100644 index 000000000..94e52fc7e --- /dev/null +++ b/src/Api/build.ps1 @@ -0,0 +1,12 @@ +$dir = Split-Path -Parent $MyInvocation.MyCommand.Path + +echo "`n## Building API" + +echo "`nBuilding app" +echo ".NET Core version $(dotnet --version)" +echo "Restore" +dotnet restore $dir\Api.csproj +echo "Clean" +dotnet clean $dir\Api.csproj -c "Release" -o $dir\obj\Azure\publish +echo "Publish" +dotnet publish $dir\Api.csproj -c "Release" -o $dir\obj\Azure\publish diff --git a/src/Identity/build.ps1 b/src/Identity/build.ps1 new file mode 100644 index 000000000..eca6ba13a --- /dev/null +++ b/src/Identity/build.ps1 @@ -0,0 +1,12 @@ +$dir = Split-Path -Parent $MyInvocation.MyCommand.Path + +echo "`n## Building Identity" + +echo "`nBuilding app" +echo ".NET Core version $(dotnet --version)" +echo "Restore" +dotnet restore $dir\Identity.csproj +echo "Clean" +dotnet clean $dir\Identity.csproj -c "Release" -o $dir\obj\Azure\publish +echo "Publish" +dotnet publish $dir\Identity.csproj -c "Release" -o $dir\obj\Azure\publish