Skip to content

Commit

Permalink
Adds a .packit file (#19)
Browse files Browse the repository at this point in the history
- This file indicates to the automation which packager should be used.
This will mean that the buildpack will now be built with jam and receive
the proper formatting. Previously the version inside of buildpack.toml
was not being overwritten.
  • Loading branch information
ForestEckhardt authored Mar 8, 2021
1 parent 757cf77 commit e907c7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.bin
rust-dist-cnb_*
rust-dist-cnb_*
build
Empty file added .packit
Empty file.
5 changes: 2 additions & 3 deletions buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ api = "0.4"
[buildpack]
id = "paketo-community/rust-dist"
name = "Rust Distribution Buildpack"
version = "0.0.8"
homepage = "https://github.com/paketo-community/rust-dist"

[[stacks]]
Expand All @@ -16,8 +15,8 @@ api = "0.4"
id = "org.cloudfoundry.stacks.cflinuxfs3"

[metadata]
include_files = ["bin/build", "bin/detect", "buildpack.toml"]
pre_package = "./scripts/build.sh"
include-files = ["bin/build", "bin/detect", "buildpack.toml"]
pre-package = "./scripts/build.sh"

# from https://forge.rust-lang.org/infra/other-installation-methods.html#standalone
[[metadata.dependencies]]
Expand Down

0 comments on commit e907c7d

Please sign in to comment.