mirror of
https://github.com/bitwarden/web
synced 2025-12-16 08:13:22 +00:00
Add web server
This commit is contained in:
15
dotnet-src/Web/build.sh
Executable file
15
dotnet-src/Web/build.sh
Executable 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"
|
||||
Reference in New Issue
Block a user