Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer targets over stacks #790

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ You will have `node-js-buildpack/buildpack.toml`<!--+"{{open}}"+--> in your buil
```toml
# Buildpack API version
api = "0.10"
# Enable to allow the buildpack to build on a Windows target
WithWindowsBuild = false
# Enable to force the buildpack to build only on supported Linux targets
# "false" by default, which allows the buildpack to build on *all* Linux targets
WithLinuxBuild = false

# Buildpack ID and metadata
[buildpack]
Expand All @@ -53,8 +58,8 @@ api = "0.10"

# Targets the buildpack will work with
[[targets]]
os = "linux"
architecture = "amd64"
os = "linux"
arch = "amd64"
```

The buildpack ID is the way you will reference the buildpack when you create buildpack groups, builders, etc.
Expand Down
Loading