work.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Import-Module -Name "$PSScriptRoot\TreeWalkTools.psm1" -Verbose


 #$TreeWalkPackage = Get-Package TreeWalk

# if(!$TreeWalkPackage) {
# Install-Package TreeWalk -Verbose -Scope CurrentUser -SkipDependencies
# }

# $DllPath = [System.IO.Path]::GetDirectoryName($TreeWalkPackage.Source) + "\lib\net461\TreeWalk.dll"

# Add-Type -Path $DllPath


# New-ScriptFileInfo -Path "$PSScriptRoot\Merge-Xml2Xml.ps1" -Version "1.0.0" -Author "maskym.a.romanov@gmail.com" -Description "Merge input XML into output Xml" -CompanyName "Individual" `
# -Copyright "Gnu GPL v3"


# Update-ModuleManifest -Path .\TreeWalkTools\TreeWalkTools.psd1 -ProjectUri "https://github.com/maxromanov/TreeWalk" -LicenseUri "https://raw.githubusercontent.com/maxromanov/TreeWalk/master/LICENSE"


#Get-Module -Name @('PackageManagement', 'PowerShellGet');

Publish-Module -Path .\TreeWalkTools\ -NuGetApiKey "oy2bxug4vqgqcnxmugxq3n7lllonwe6ergxktuenpqckve"