8000 libcnb-cargo: Example `pack build` command no longer uses relative paths after #575 · Issue #599 · heroku/libcnb.rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
libcnb-cargo: Example pack build command no longer uses relative paths after #575 #599
Closed
@edmorley

Description

@edmorley

When cargo libcnb package is run, at the end of the packaging process an example pack build command is displayed, with the aim of making it (a) easy for people to understand how to use the compiled buildpack, (b) to save them having to type all of the CLI arguments/paths by hand.

Prior to #575, this example pack build command used relative paths to the buildpack, however, it now uses absolute paths, eg:

💡 To test your buildpack locally with pack, run:
pack build my-image-name \
  --buildpack /Users/emorley/src/buildpacks-python/target/buildpack/x86_64-unknown-linux-musl/debug/heroku_python \
  --path /path/to/application

(ie: the /Users/emorley/src/buildpacks-python/target/buildpack/x86_64-unknown-linux-musl/debug/heroku_python)

We should switch back to relative paths to make the shown command shorter and easier to see that the files have actually been saved inside the source dir at a quick glance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0