From fb2ee6aaeafefff885a7567767a15a252a59be31 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 6 Aug 2018 09:11:27 -0400 Subject: [PATCH] no longer need to provide netcoreapp flag --- README.md | 8 ++++---- src/Admin/build.sh | 4 ++-- src/Api/build.sh | 8 ++++---- src/Icons/build.sh | 4 ++-- src/Identity/build.sh | 4 ++-- util/Setup/build.sh | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index a42fc1ff0..65301ffa3 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ The core infrastructure is written in C# using .NET Core with ASP.NET Core. The ``` cd src/Api dotnet restore -dotnet build -f netcoreapp2.1 -dotnet run -f netcoreapp2.1 +dotnet build +dotnet run ``` visit http://localhost:5000/alive @@ -51,8 +51,8 @@ visit http://localhost:5000/alive ``` cd src/Identity dotnet restore -dotnet build -f netcoreapp2.1 -dotnet run -f netcoreapp2.1 +dotnet build +dotnet run ``` visit http://localhost:33657/.well-known/openid-configuration diff --git a/src/Admin/build.sh b/src/Admin/build.sh index 34517535b..f3e0ca43c 100755 --- a/src/Admin/build.sh +++ b/src/Admin/build.sh @@ -10,12 +10,12 @@ echo ".NET Core version $(dotnet --version)" echo "Restore" dotnet restore $DIR/Admin.csproj 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" npm --prefix $DIR install $DIR gulp --gulpfile $DIR/gulpfile.js build 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" docker --version diff --git a/src/Api/build.sh b/src/Api/build.sh index 2192077b0..0f23ebe64 100755 --- a/src/Api/build.sh +++ b/src/Api/build.sh @@ -11,11 +11,11 @@ echo "Restore" dotnet restore $DIR/Api.csproj dotnet restore $DIR/../Jobs/Jobs.csproj echo "Clean" -dotnet clean $DIR/Api.csproj -f netcoreapp2.1 -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/Api.csproj -c "Release" -o $DIR/obj/Docker/publish/Api +dotnet clean $DIR/../Jobs/Jobs.csproj -c "Release" -o $DIR/obj/Docker/publish/Jobs echo "Publish" -dotnet publish $DIR/Api.csproj -f netcoreapp2.1 -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/Api.csproj -c "Release" -o $DIR/obj/Docker/publish/Api +dotnet publish $DIR/../Jobs/Jobs.csproj -c "Release" -o $DIR/obj/Docker/publish/Jobs echo -e "\nBuilding docker image" docker --version diff --git a/src/Icons/build.sh b/src/Icons/build.sh index c27342f63..40f26881c 100755 --- a/src/Icons/build.sh +++ b/src/Icons/build.sh @@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)" echo "Restore" dotnet restore $DIR/Icons.csproj 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" -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" docker --version diff --git a/src/Identity/build.sh b/src/Identity/build.sh index 0f7f84b83..0fa8f11f5 100755 --- a/src/Identity/build.sh +++ b/src/Identity/build.sh @@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)" echo "Restore" dotnet restore $DIR/Identity.csproj 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" -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" docker --version diff --git a/util/Setup/build.sh b/util/Setup/build.sh index ab1b6af86..9c65cdb9e 100755 --- a/util/Setup/build.sh +++ b/util/Setup/build.sh @@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)" echo "Restore" dotnet restore $DIR/Setup.csproj 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" -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" docker --version