This commit is contained in:
Miodrag Milic
2016-11-24 19:15:19 +01:00
parent 0ef7dfa7f8
commit e405feeeda
2 changed files with 8 additions and 7 deletions
+4 -3
View File
@@ -17,8 +17,8 @@ The repository is setup so that you can manage your packages entirely from the G
To run locally you will need:
- Powershell 4+.
- [Chocolatey Automatic Package Updater Module](https://github.com/majkinetor/au): `Install-Module au`
- Powershell 5+: `cinst powershell`
- [Chocolatey Automatic Package Updater Module](https://github.com/majkinetor/au): `Install-Module au` or `cinst au`
## Create a package
@@ -26,7 +26,8 @@ To create a new package see [Creating the package updater script](https://github
## Testing the package
In a package directory run: `Test-Package`.
In a package directory run: `Test-Package`. This function can be used to start testing in [chocolatey-test-environment](https://github.com/majkinetor/chocolatey-test-environment) via `Vagrant` parameter or it can test packages locally.
## Automatic package update
+4 -4
View File
@@ -27,10 +27,10 @@ $Options = [ordered]@{
Path = "$PSScriptRoot\Update-AUPackages.md" #List of files to add to the gist
}
#Git = @{
#User = '' #Git username, leave empty if github api key is used
#Password = $Env:github_api_key #Password if username is not empty, otherwise api key
#}
Git = @{
User = '' #Git username, leave empty if github api key is used
Password = $Env:github_api_key #Password if username is not empty, otherwise api key
}
RunInfo = @{
Exclude = 'password', 'apikey' #Option keys which contain those words will be removed