1
0
mirror of https://github.com/bitwarden/web synced 2025-12-16 08:13:22 +00:00

Add web server

This commit is contained in:
Vince Grassia
2022-04-07 12:05:30 -04:00
parent 9d2cfe4a3d
commit 8add15eae9
11 changed files with 241 additions and 7 deletions

15
dotnet-src/Web/build.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo -e "\n## Building Web"
echo -e "\nBuilding app"
echo ".NET Core version $(dotnet --version)"
echo "Restore"
dotnet restore "$DIR/Web.csproj"
echo "Clean"
dotnet clean "$DIR/Web.csproj" -c "Release" -o "$DIR/obj/build-output/publish"
echo "Publish"
dotnet publish "$DIR/Web.csproj" -c "Release" -o "$DIR/obj/build-output/publish"