-
Notifications
You must be signed in to change notification settings - Fork 29
/
build-nupkg.bat
23 lines (17 loc) · 923 Bytes
/
build-nupkg.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
rem FlashCap - Independent camera capture library.
rem Copyright (c) Kouji Matsui (@kozy_kekyo, @[email protected])
rem
rem Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
echo.
echo "==========================================================="
echo "Build FlashCap"
echo.
rem git clean -xfd
dotnet restore
dotnet build -p:Configuration=Release -p:Platform=AnyCPU FlashCap.Core\FlashCap.Core.csproj
dotnet build -p:Configuration=Release -p:Platform=AnyCPU FlashCap\FlashCap.csproj
dotnet build -p:Configuration=Release -p:Platform=AnyCPU FSharp.FlashCap\FSharp.FlashCap.fsproj
dotnet pack -p:Configuration=Release -p:Platform=AnyCPU -o artifacts FlashCap.Core\FlashCap.Core.csproj
dotnet pack -p:Configuration=Release -p:Platform=AnyCPU -o artifacts FlashCap\FlashCap.csproj
dotnet pack -p:Configuration=Release -p:Platform=AnyCPU -o artifacts FSharp.FlashCap\FSharp.FlashCap.fsproj