-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Creating the basic structure of the project for Solana buildpacks #5
Conversation
Bumps pipeline from 0.0.0 to 1.34.0. Signed-off-by: GitHub <noreply@github.com>
A Cloud Native Buildpack that provides the Solana Tool Suite | ||
|
||
## Usage | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forge add command and example?
pre-package = "scripts/build.sh" | ||
|
||
|
||
[[metadata.dependencies]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? miss config?
func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error) { | ||
b.Logger.Title(context.Buildpack) | ||
result := libcnb.NewBuildResult() | ||
return result, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
miss code? please refer to: https://github.com/amp-buildpacks/hardhat/blob/main/hardhat/build.go
return false, fmt.Errorf("unable to determine if Cargo.toml exists\n%w", err) | ||
} | ||
// check src/lib.ts file is exists | ||
_, err = os.Stat(filepath.Join(appDir, "src/lib.rs")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just check lib.rs?
func (r Solana) Contribute(layer libcnb.Layer) (libcnb.Layer, error) { | ||
r.LayerContributor.Logger = r.Logger | ||
return r.LayerContributor.Contribute(layer, func(artifact *os.File) (libcnb.Layer, error) { | ||
return layer, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
miss code? Refer to: https://github.com/amp-buildpacks/hardhat/blob/main/hardhat/hardhat.go
关联 issue #1