forked from FlaUI/FlaUInspect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added nuspec and build related files
- Loading branch information
Bäriswyl Roman
committed
May 24, 2017
1 parent
cef71c3
commit a296a0a
Showing
5 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
## vnext (xxxx-xx-xx) | ||
|
||
### Enhancements | ||
|
||
### Bug fixes | ||
|
||
## Older changes | ||
See https://raw.githubusercontent.com/Roemer/FlaUI/master/CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
$artefactDir = "Artefacts" | ||
$tempDir = "Temp" | ||
$version = "1.1.0" | ||
$rootPath = "." | ||
|
||
function Main { | ||
if (Test-Path $artefactDir) { | ||
rd $artefactDir -Recurse | Out-Null | ||
} | ||
md -Name $artefactDir | Out-Null | ||
|
||
if (Test-Path $tempDir) { | ||
rd $tempDir -Recurse | Out-Null | ||
} | ||
md -Name $tempDir | Out-Null | ||
|
||
# FlaUInspect | ||
$inspectDir = Join-Path $tempDir "FlaUInspect-$version" | ||
Copy-Item -Path $rootPath\src\FlaUInspect\bin -Destination $inspectDir -Recurse | ||
Get-ChildItem $inspectDir -Include *.pdb,*.xml,*.vshost.*,*RANDOM_SEED* -Recurse | Remove-Item | ||
Deploy-License $inspectDir | ||
|
||
# Create Zips | ||
[Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | Out-Null | ||
$compression = [System.IO.Compression.CompressionLevel]::Optimal | ||
$includeBaseDirectory = $false | ||
[System.IO.Compression.ZipFile]::CreateFromDirectory($inspectDir, (Join-Path $artefactDir "FlaUInspect-$version.zip"), $compression, $includeBaseDirectory) | ||
|
||
Create-Packages | ||
|
||
# Cleanup | ||
rd $tempDir -Recurse | ||
} | ||
|
||
function Deploy-License($dest) { | ||
Copy-Item -Path $rootPath\CHANGELOG.md -Destination $dest | ||
Copy-Item -Path $rootPath\LICENSE.txt -Destination $dest | ||
} | ||
|
||
function Create-Packages() { | ||
choco pack "$rootPath\nuspec\FlaUInspect.nuspec" -OutputDirectory $artefactDir --version $version | ||
} | ||
|
||
Main |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
VERIFICATION | ||
Verification is intended to assist the Chocolatey moderators and community | ||
in verifying that this package's contents are trustworthy. | ||
|
||
The binaries can be downloaded from https://github.com/FlauTech/FlaUInspect/releases and compared with the ones included in this package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd"> | ||
<metadata> | ||
<id>flauinspect</id> | ||
<version>$version$</version> | ||
<title>FlaUInspect</title> | ||
<authors>Roemer</authors> | ||
<owners>Roemer</owners> | ||
<licenseUrl>https://github.com/FlauTech/FlaUInspect/blob/master/LICENSE.txt</licenseUrl> | ||
<projectUrl>https://github.com/FlauTech/FlaUInspect</projectUrl> | ||
<iconUrl>https://github.com/FlauTech/FlaUInspect/blob/master/FlaUInspect.png?raw=true</iconUrl> | ||
<packageSourceUrl>https://github.com/FlauTech/FlaUInspect</packageSourceUrl> | ||
<releaseNotes>https://github.com/FlauTech/FlaUInspect/blob/master/CHANGELOG.md</releaseNotes> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<summary>Tool to inspect Windows applications how UIA sees them.</summary> | ||
<description>This application allows to inspect Windows applications with Microsoft UIA (UI Automation) and shows how UIA sees the application.</description> | ||
<copyright>Copyright 2016-2017</copyright> | ||
<tags>UI Automation UIA2 UIA3 UIA System.Windows.Automation Inspect</tags> | ||
</metadata> | ||
<files> | ||
<file src="..\src\FlaUInspect\bin\**\*.*" exclude="**\*.pdb;**\*.xml;**\*.vshost.*;**\*RANDOM_SEED*" target="tools" /> | ||
<file src="..\LICENSE.txt" target="tools" /> | ||
<file src="..\CHANGELOG.md" target="tools" /> | ||
<file src="..\VERIFICATION.txt" target="tools" /> | ||
</files> | ||
</package> |