1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

build script updates

This commit is contained in:
Kyle Spearrin
2017-08-23 22:22:15 -04:00
parent 16431bc0f8
commit 7ad3c4785b
14 changed files with 34 additions and 18 deletions

View File

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