Files
AeroPkg/assets/etc/aeropkg.md

51 lines
1.0 KiB
Markdown

Aeropkg config file
=
> # Repository
> Global settings
``` cfg *** Repository list and priority ***
gnu /pkg/gnu/aeropkg/var/gnu
musl /pkg/gnu/aeropkg/var/musl
```
> # Env
> Block name `env *** env ***`
> Global process environment
>
> Block name's `env *** env [repo] [stages] ***`
> Install subcommand environment
> Repo, stages - optional
> Valid stages: download, patch, build, config.
> `Params`
> save_source=true (default: none)
> pgo=generate|use (default: none)
> disable=true|false (default: false)
``` env *** env ***
SHELL=/bin/sh
```
``` env *** env gnu ***
save_source=true
```
> # Hooks
> Block format `sh *** hook [repo] [stages] ***`
> Execute a shell script for a specific repository
>
> Repo, stages - optional
> Valid stages: download, patch, build, config.
> # Trim
> Block format `cfg *** Trim rules ***`
> Trimming removes unused files for a specified period
>
> Relative paths with /pkg/<repo>, support wildcard
> Add ! to exclude
``` cfg *** Trim rules ***
!**
!aeropkg
```