From 6e7c1d15cbc01acf1940915eecd9f57381950f73 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:22:19 +0100 Subject: [PATCH] Add buildpack.toml With a `[publish.Ignore]` table, to exclude unnecessary files from the buildpack archive published to the buildpack registry. --- CHANGELOG.md | 1 + buildpack.toml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 buildpack.toml diff --git a/CHANGELOG.md b/CHANGELOG.md index 2da55f7..7fd88a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - The cache is now correctly invalidated if the stack version of an existing cache cannot be determined. ([#133](https://github.com/heroku/heroku-buildpack-apt/pull/133)) - When the cache is invalidated, all APT-related files are now removed, rather than only some of them. In particular, this means old APT package index files are cleaned up. ([#133](https://github.com/heroku/heroku-buildpack-apt/pull/133)) +- Exclude test/development files from the buildpack archive published to the buildpack registry. ([#135](https://github.com/heroku/heroku-buildpack-apt/pull/135)) ## 2024-03-28 diff --git a/buildpack.toml b/buildpack.toml new file mode 100644 index 0000000..9678a71 --- /dev/null +++ b/buildpack.toml @@ -0,0 +1,10 @@ +[buildpack] +name = "Apt" + +[publish.Ignore] +files = [ + ".github/", + "test/", + ".gitignore", + "Makefile", +]