-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathbuild-nupkg.sh
More file actions
executable file
·23 lines (17 loc) · 896 Bytes
/
build-nupkg.sh
File metadata and controls
executable file
·23 lines (17 loc) · 896 Bytes
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 (@kekyo@mi.kekyo.net)
#
# 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