-
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.
- Loading branch information
1 parent
88be964
commit 4bb6f28
Showing
8 changed files
with
129 additions
and
19 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,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package > | ||
<metadata> | ||
<id>AngleSharp.DOMParser</id> | ||
<version>1.0.9</version> | ||
<title>AngleSharp.DOMParser</title> | ||
<authors>nstevens1040</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<license type="expression">Unlicense</license> | ||
<projectUrl>https://github.com/nstevens1040/AngleSharp.DOMParser</projectUrl> | ||
<description>This library uses AngelSharp to parse an HTML string into a document object model. The library targets .NET Framework 4.7.2 so that it is compatible with Windows PowerShell.</description> | ||
<releaseNotes>First release</releaseNotes> | ||
<copyright>Copyright © nstevens1040 2023</copyright> | ||
<tags>html parser library csharp dom powershell document-object-model dotnet-framework windows-powershell</tags> | ||
<repository type="git" url="https://github.com/nstevens1040/AngleSharp.DOMParser.git" branch="master" commit="" /> | ||
</metadata> | ||
</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
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
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,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package > | ||
<metadata> | ||
<id>AngleSharp.DOMParser</id> | ||
<version>1.0.9</version> | ||
<title>AngleSharp.DOMParser</title> | ||
<authors>nstevens1040</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<license type="expression">Unlicense</license> | ||
<projectUrl>https://github.com/nstevens1040/AngleSharp.DOMParser</projectUrl> | ||
<description>This library uses AngelSharp to parse an HTML string into a document object model. The library targets .NET Framework 4.7.2 so that it is compatible with Windows PowerShell.</description> | ||
<releaseNotes>First release</releaseNotes> | ||
<copyright>Copyright © nstevens1040 2023</copyright> | ||
<tags>html parser library csharp dom powershell document-object-model dotnet-framework windows-powershell</tags> | ||
<repository type="git" url="https://github.com/nstevens1040/AngleSharp.DOMParser.git" branch="master" commit="" /> | ||
</metadata> | ||
</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
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
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
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,48 @@ | ||
|
||
[cmdletbinding()] | ||
Param() | ||
cd ..\..\ | ||
write-Host "$($PWD.Path)" | ||
#cd [System.IO.FileInfo]::New($MyInvocation.MyCommand.Path).Directory.FullName | ||
remove-item "$($PWD.Path)\ilmerge.3.0.41.nupkg" -ea 0 | ||
remove-item -Recurse -Force -Path "$($PWD.Path)\ilmerge.3.0.41" -ea 0 | ||
remove-item "$($PWD.Path)\ilmerge.3.0.41.zip" -ea 0 | ||
remove-item ".\bin\AngleSharp.DomParser.ILMerge.log" -ea 0 | ||
if((Get-ExecutionPolicy) -notin @([Microsoft.PowerShell.ExecutionPolicy]::Unrestricted,[Microsoft.PowerShell.ExecutionPolicy]::Bypass)) | ||
{ | ||
if( | ||
[Security.Principal.WindowsPrincipal]::New([Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | ||
){ | ||
Set-ExecutionPolicy -Scope Process Bypass -Force | ||
Set-ExecutionPolicy -Scope CurrentUser Bypass -Force | ||
Set-ExecutionPolicy -Scope LocalMachine Bypass -Force | ||
Set-ExecutionPolicy Bypass -Force | ||
} else { | ||
Set-ExecutionPolicy -Scope Process Bypass -Force | ||
Set-ExecutionPolicy -Scope CurrentUser Bypass -Force | ||
} | ||
} | ||
[System.Net.WebClient]::New().DownloadFile( | ||
"https://globalcdn.nuget.org/packages/ilmerge.3.0.41.nupkg", | ||
"$($PWD.Path)\ilmerge.3.0.41.nupkg" | ||
) | ||
$null = mkdir "$($PWD.Path)\ilmerge.3.0.41" | ||
Move-Item "$($PWD.Path)\ilmerge.3.0.41.nupkg" "$($PWD.Path)\ilmerge.3.0.41.zip" | ||
Expand-Archive -Path "$($PWD.Path)\ilmerge.3.0.41.zip" -Destination "$($PWD.Path)\ilmerge.3.0.41" | ||
$ilmerge = "$($PWD.Path)\ilmerge.3.0.41\tools\net452\ILMerge.exe" | ||
if(!(Test-Path ".\bin\build" -ea 0)){ $null = mkdir ".\bin\build" } | ||
. $ilmerge /lib:.\bin\Debug ` | ||
/log:.\bin\AngleSharp.DomParser.ILMerge.log ` | ||
/target:library ` | ||
/targetplatform:v4 ` | ||
/out:.\bin\build\AngleSharp.DomParser.dll ` | ||
/keyfile:.\AngleSharp.DOMParser.snk ` | ||
.\bin\Release\AngleSharp.DOMParser.dll ` | ||
.\bin\Release\System.Text.Encoding.CodePages.dll ` | ||
.\bin\Release\AngleSharp.dll ` | ||
.\bin\Release\System.Buffers.dll ` | ||
.\bin\Release\System.Memory.dll ` | ||
.\bin\Release\System.Numerics.Vectors.dll ` | ||
.\bin\Release\System.Runtime.CompilerServices.Unsafe.dll | ||
remove-item -Recurse -Force -Path "$($PWD.Path)\ilmerge.3.0.41" -ea 0 | ||
remove-item "$($PWD.Path)\ilmerge.3.0.41.zip" -ea 0 |