mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
build script updates
This commit is contained in:
parent
16431bc0f8
commit
7ad3c4785b
@ -1,11 +1,13 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building API"
|
||||
echo "`n## Building API"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Api.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish\Api
|
||||
dotnet clean $dir\..\Jobs\Jobs.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish\Jobs
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Api.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish\Api
|
||||
dotnet publish $dir\..\Jobs\Jobs.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish\Jobs
|
||||
|
||||
|
@ -3,12 +3,14 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building API"
|
||||
echo -e "\n## Building API"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet clean $DIR/../Jobs/Jobs.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet publish $DIR/../Jobs/Jobs.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
|
||||
|
@ -1,10 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building Identity"
|
||||
echo "`n## Building Identity"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Identity.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Identity.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish
|
||||
|
||||
echo "`nBuilding docker image"
|
||||
|
@ -3,11 +3,13 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building Identity"
|
||||
echo -e "\n## Building Identity"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Identity.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Identity.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
|
@ -1,6 +1,6 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building Attachments"
|
||||
echo "`n## Building Attachments"
|
||||
|
||||
echo "`nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -3,7 +3,7 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building Attachments"
|
||||
echo -e "\n## Building Attachments"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -1,6 +1,6 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building MsSql"
|
||||
echo "`n## Building MsSql"
|
||||
|
||||
echo "`nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -3,7 +3,7 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building MsSql"
|
||||
echo -e "\n## Building MsSql"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -1,6 +1,6 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building nginx"
|
||||
echo "`n## Building nginx"
|
||||
|
||||
echo "`nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -3,7 +3,7 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building nginx"
|
||||
echo -e "\n## Building nginx"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -1,10 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building Server"
|
||||
echo "`n## Building Server"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Server.csproj -c "Release" -o $dir\obj\Docker\publish
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Server.csproj -c "Release" -o $dir\obj\Docker\publish
|
||||
|
||||
echo "`nBuilding docker image"
|
||||
|
@ -3,11 +3,13 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building Server"
|
||||
echo -e "\n## Building Server"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
|
@ -1,10 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n# Building Setup"
|
||||
echo "`n## Building Setup"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Setup.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Setup.csproj -f netcoreapp2.0 -c "Release" -o $dir\obj\Docker\publish
|
||||
|
||||
echo "`nBuilding docker image"
|
||||
|
@ -3,11 +3,13 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building Setup"
|
||||
echo -e "\n## Building Setup"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
|
Loading…
Reference in New Issue
Block a user