1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00

no longer need to provide netcoreapp flag

This commit is contained in:
Kyle Spearrin 2018-08-06 09:11:27 -04:00
parent 66e03aee1b
commit fb2ee6aaea
6 changed files with 16 additions and 16 deletions

View File

@ -40,8 +40,8 @@ The core infrastructure is written in C# using .NET Core with ASP.NET Core. The
``` ```
cd src/Api cd src/Api
dotnet restore dotnet restore
dotnet build -f netcoreapp2.1 dotnet build
dotnet run -f netcoreapp2.1 dotnet run
``` ```
visit http://localhost:5000/alive visit http://localhost:5000/alive
@ -51,8 +51,8 @@ visit http://localhost:5000/alive
``` ```
cd src/Identity cd src/Identity
dotnet restore dotnet restore
dotnet build -f netcoreapp2.1 dotnet build
dotnet run -f netcoreapp2.1 dotnet run
``` ```
visit http://localhost:33657/.well-known/openid-configuration visit http://localhost:33657/.well-known/openid-configuration

View File

@ -10,12 +10,12 @@ echo ".NET Core version $(dotnet --version)"
echo "Restore" echo "Restore"
dotnet restore $DIR/Admin.csproj dotnet restore $DIR/Admin.csproj
echo "Clean" echo "Clean"
dotnet clean $DIR/Admin.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet clean $DIR/Admin.csproj -c "Release" -o $DIR/obj/Docker/publish
echo "Node Build" echo "Node Build"
npm --prefix $DIR install $DIR npm --prefix $DIR install $DIR
gulp --gulpfile $DIR/gulpfile.js build gulp --gulpfile $DIR/gulpfile.js build
echo "Publish" echo "Publish"
dotnet publish $DIR/Admin.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet publish $DIR/Admin.csproj -c "Release" -o $DIR/obj/Docker/publish
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version

View File

@ -11,11 +11,11 @@ echo "Restore"
dotnet restore $DIR/Api.csproj dotnet restore $DIR/Api.csproj
dotnet restore $DIR/../Jobs/Jobs.csproj dotnet restore $DIR/../Jobs/Jobs.csproj
echo "Clean" echo "Clean"
dotnet clean $DIR/Api.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Api dotnet clean $DIR/Api.csproj -c "Release" -o $DIR/obj/Docker/publish/Api
dotnet clean $DIR/../Jobs/Jobs.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Jobs dotnet clean $DIR/../Jobs/Jobs.csproj -c "Release" -o $DIR/obj/Docker/publish/Jobs
echo "Publish" echo "Publish"
dotnet publish $DIR/Api.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Api dotnet publish $DIR/Api.csproj -c "Release" -o $DIR/obj/Docker/publish/Api
dotnet publish $DIR/../Jobs/Jobs.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Jobs dotnet publish $DIR/../Jobs/Jobs.csproj -c "Release" -o $DIR/obj/Docker/publish/Jobs
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version

View File

@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)"
echo "Restore" echo "Restore"
dotnet restore $DIR/Icons.csproj dotnet restore $DIR/Icons.csproj
echo "Clean" echo "Clean"
dotnet clean $DIR/Icons.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet clean $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
echo "Publish" echo "Publish"
dotnet publish $DIR/Icons.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet publish $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version

View File

@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)"
echo "Restore" echo "Restore"
dotnet restore $DIR/Identity.csproj dotnet restore $DIR/Identity.csproj
echo "Clean" echo "Clean"
dotnet clean $DIR/Identity.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet clean $DIR/Identity.csproj -c "Release" -o $DIR/obj/Docker/publish
echo "Publish" echo "Publish"
dotnet publish $DIR/Identity.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet publish $DIR/Identity.csproj -c "Release" -o $DIR/obj/Docker/publish
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version

View File

@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)"
echo "Restore" echo "Restore"
dotnet restore $DIR/Setup.csproj dotnet restore $DIR/Setup.csproj
echo "Clean" echo "Clean"
dotnet clean $DIR/Setup.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet clean $DIR/Setup.csproj -c "Release" -o $DIR/obj/Docker/publish
echo "Publish" echo "Publish"
dotnet publish $DIR/Setup.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish dotnet publish $DIR/Setup.csproj -c "Release" -o $DIR/obj/Docker/publish
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version