-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathpsake-project.ps1
More file actions
25 lines (19 loc) · 907 Bytes
/
psake-project.ps1
File metadata and controls
25 lines (19 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Include "packages\Hangfire.Build.0.4.3\tools\psake-common.ps1"
Task Default -Depends Pack
Task Merge -Depends Compile -Description "Run ILRepack /internalize to merge assemblies." {
Repack-Assembly @("Hangfire.Dashboard.Authorization", "net45") @("Microsoft.Owin")
}
Task Collect -Depends Merge -Description "Copy all artifacts to the build folder." {
Collect-Assembly "Hangfire.Dashboard.Authorization" "net45"
Collect-File "README.md"
Collect-File "LICENSE"
}
Task Pack -Depends Collect -Description "Create NuGet packages and archive files." {
$version = Get-PackageVersion
Create-Package "Hangfire.Dashboard.Authorization" $version
Create-Archive "Hangfire.Dashboard.Authorization-$version"
}
Task Sign -Depends Pack -Description "Sign artifacts." {
$version = Get-PackageVersion
Sign-ArchiveContents "Hangfire.Dashboard.Authorization-$version" "hangfire"
}