Skip to content

Commit 662ceaf

Browse files
author
Natalie Arellano
authored
Update content/docs/reference/spec/buildpack-api.md
Signed-off-by: Natalie Arellano <[email protected]>
1 parent 5efb274 commit 662ceaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/docs/reference/spec/buildpack-api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ The schema is as follows:
191191

192192
- **`targets`** _(list, optional)_\
193193
A list of targets supported by the buildpack.
194+
When no targets are specified, the `os`/`arch` will be inferred from the contents of the `./bin` directory
195+
(`./bin/build` implies `linux`/`amd64` and `./bin/build.bat` implies `windows`/`amd64`).
196+
For each target, all fields are optional (though at least one should be provided).
194197
_Cannot be used in conjunction with `order` list._
195198

196199
- **`os`** _(string, optional)_\

0 commit comments

Comments
 (0)