Skip to content

Commit 5154cc9

Browse files
author
Cory Thompson
committed
Update build script to target multiple frameworks
1 parent 221d46e commit 5154cc9

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed
File renamed without changes.

build.cmd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
rmdir /S /Q "build" 2>nul
2+
3+
mkdir build\package\lib\netcoreapp1.0
4+
mkdir build\package\lib\netcoreapp1.1
5+
mkdir build\package\lib\netstandard1.3
6+
mkdir build\package\lib\net45
7+
mkdir build\package\lib\net46
8+
9+
copy WebPush.nuspec build\package\
10+
11+
dotnet restore
12+
dotnet build --configuration=Release WebPush\WebPush.csproj
13+
14+
copy WebPush\bin\Release\netcoreapp1.0\WebPush.dll build\package\lib\netcoreapp1.0\WebPush.dll
15+
copy WebPush\bin\Release\netcoreapp1.1\WebPush.dll build\package\lib\netcoreapp1.1\WebPush.dll
16+
copy WebPush\bin\Release\netstandard1.3\WebPush.dll build\package\lib\netstandard1.3\WebPush.dll
17+
copy WebPush\bin\Release\net45\WebPush.dll build\package\lib\net45\WebPush.dll
18+
copy WebPush\bin\Release\net46\WebPush.dll build\package\lib\net46\WebPush.dll
19+
20+
nuget pack build\package\WebPush.nuspec

build/build.cmd

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)