forked from kekyo/FlashCap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-nupkg.sh
executable file
·23 lines (17 loc) · 911 Bytes
/
build-nupkg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# FlashCap - Independent camera capture library.
# Copyright (c) Kouji Matsui (@kozy_kekyo, @[email protected])
#
# Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
echo
echo "==========================================================="
echo "Build FlashCap"
echo
# 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