Skip to content

Commit e2aa54a

Browse files
committed
README.md doc additions for new clean_artifacts_after_build parameter
1 parent d83f996 commit e2aa54a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ an array of scripts to the `tool.hatch.build.hooks.build-scripts.scripts` key in
2929
| `work_dir` | `"."` | The directory to run the commands in. All artifact patterns are relative to this directory. |
3030
| `clean_artifacts` | `true` | Whether to clean files from the `out_dir` that match the artifact patterns before running the commands. |
3131
| `clean_out_dir` | `false` | Whether to clean the `out_dir` before running the commands. |
32+
| `clean_artifacts_after_build` | `false` | Whether to clean the files from the `out_dir` that were generated by the scripts. |
3233

3334
In practice this looks like:
3435

@@ -56,3 +57,4 @@ You can configure script defaults for scripts by adding a `[tool.hatch.build.hoo
5657
| `work_dir` | `"."` | The directory to run the commands in. All artifact patterns are relative to this directory. |
5758
| `clean_artifacts` | `true` | Whether to clean files from the `out_dir` that match the artifact patterns before running the commands. |
5859
| `clean_out_dir` | `false` | Whether to clean the `out_dir` before running the commands. |
60+
| `clean_artifacts_after_build` | `false` | Whether to clean the files from the `out_dir` that were generated by the scripts. |

0 commit comments

Comments
 (0)