This commit is contained in:
Miodrag Milic
2016-09-25 09:50:36 +02:00
parent 74558392c2
commit 5e1d1eefdf
+7 -6
View File
@@ -21,22 +21,23 @@ To create a new package see [Creating the package updater script](https://github
## Testing the package
In package directory run: `Test-Package`.
In a package directory run: `Test-Package`.
## Automatic package update
Run `<package_dir>/update.ps1` from within the directory of the package to update that package. If this script is missing, the package is not automatic.
Run `./update_all.ps1` from the repository root. Edit this script to change the AU [update options](https://github.com/majkinetor/au#updating-all-packages).
You can also call AU method `Update-AUPackages` (alias `updateall`) in the repository root. This will just update each package without any other action.
## How to use with your own packages
## Start using AU with your own packages
To use this system with your own AU packages do the following steps:
To use this system with your own packages do the following steps:
* Fork this project and clone it locally.
* Delete all existing packages:
In the root of the repository run: `ls | ? PSISContainer | ? Name -notlike '_*' | rm -Recurse`.
* Set your environment variables. See [AU wiki](https://github.com/majkinetor/au/wiki/AppVeyor) for details.
* Add your own packages.
Add your own packages now, with this in mind:
* You can keep both manual and automatic packages together. To get only AU packages any time use `Get-AUPackages` function (alias `lsau` or `gau`)
* Keep all package additional files in the package directory (icons, screenshots etc.). This keeps everything related to one package in its own directory.