Skip to content

Commit 4436871

Browse files
committed
Cleaning up build script
1 parent fb63d34 commit 4436871

File tree

3 files changed

+12
-23
lines changed

3 files changed

+12
-23
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/artifacts/
2+
13
## Ignore Visual Studio temporary files, build results, and
24
## files generated by popular Visual Studio add-ons.
35

Diff for: build.bat

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
REM optional clean
2+
REM rm -rf artifacts CoreTests/bin CoreTests/obj CoreIntegrationTests/bin CoreIntegrationTests/obj Microsoft.AspNetCore.Identity.MongoDB/bin Microsoft.AspNetCore.Identity.MongoDB/obj
3+
4+
dotnet restore src
5+
dotnet test -c Release src/CoreTests
6+
dotnet test -c Release src/CoreIntegrationTests
7+
dotnet pack -c Release -o artifacts src/Microsoft.AspNetCore.Identity.MongoDB
8+
9+
REM nuget add artifacts\X.nupkg -Source C:\Code\scratch\localnugetfeedtesting
10+
REM nuget publish artifacts\X.nupkg

Diff for: src/build.sh

-23
This file was deleted.

0 commit comments

Comments
 (0)