forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) add messages to package installers
- Loading branch information
1 parent
7169a4e
commit 9cccb49
Showing
3 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
12 changes: 7 additions & 5 deletions
12
src/chocolatey.tests.integration/context/badpackage/1.0/tools/chocolateyInstall.ps1
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
12 changes: 7 additions & 5 deletions
12
src/chocolatey.tests.integration/context/badpackage/2.0/tools/chocolateyInstall.ps1
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
7 changes: 6 additions & 1 deletion
7
src/chocolatey.tests.integration/context/installpackage/1.0.0/tools/chocolateyinstall.ps1
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||
"simple file" | Out-File "$toolsDir\simplefile.txt" -force | ||
|
||
Write-Output "$env:PackageName $env:PackageVersion Installed" | ||
Write-Output "This is $packageName v$packageVersion being installed to `n $packageFolder" | ||
Write-Host "Ya!" | ||
Write-Debug "A debug message" | ||
Write-Verbose "Yo!" | ||
Write-Warning "A warning!" | ||
|
||
Write-Output "$packageName v$packageVersion has been installed to `n $packageFolder" |