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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\txtfile\shell\Tail] | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\txtfile\shell\Tail\command] | |
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -noexit -command \"function tail($path) {$host.ui.RawUI.WindowTitle = $path; gc $path -tail 10 -wait} tail\" \"'%1'\"" |
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
version: 'Build #{build}' | |
install: | |
- ps: cinst pester | |
build_script: | |
- ps: | | |
try | |
{ | |
$version = (Import-PowerShellDataFile .\PrtgAPI.CustomSensors\PrtgAPI.CustomSensors.psd1).ModuleVersion | |
Write-Host "Attempting to set Appveyor build to version '$version'" | |
Update-AppveyorBuild -Version $version |
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
$ProgressPreference = "SilentlyContinue" | |
$ErrorActionPreference = "Stop" | |
$localProjectFolder = $null # Replace this with the path to the PrtgAPI project under the repo when testing locally | |
function Main | |
{ | |
try | |
{ | |
Write-Host -ForegroundColor Cyan "Building NuGet Package" |