Skip to content

Commit

Permalink
feat(kraftfile): Information about specifying top-level outdir attr
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung committed Jan 29, 2025
1 parent 2785fa9 commit 8e5e243
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions content/docs/cli/reference/kraftfile/v0.6.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ name: helloworld
When no `name` attribute is specified, the directory's base name is used.
In some cases, a `--name` flag can also be used, e.g. in [`kraft pkg`](/docs/cli/reference/kraft/pkg) and [`kraft cloud deploy`](/docs/cli/reference/kraft/cloud/deploy).

## Top-level `outdir` attribute

An output directory `outdir` CAN be specified, for example:

```yaml ln={3}
spec: v0.6
outdir: ./out
```

This changes the location of build artifacts when running `kraft build` or `kraft pkg`.
The default location when unspecified is set to `./.unikraft/build/`.


## Top-level `cmd` attribute

Expand Down

0 comments on commit 8e5e243

Please sign in to comment.