File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ an array of scripts to the `tool.hatch.build.hooks.build-scripts.scripts` key in
27
27
| Key | Default | Description |
28
28
| ----------------- | -------- | ------------------------------------------------------------------------------------------------------- |
29
29
| ` commands ` | required | An array of commands to run. Each command is run in a separate shell. |
30
- | ` artifacts ` | required | An array of artifact patterns (same as ` .gitignore ` ) to include in your package distributions. |
30
+ | ` artifacts ` | ` [] ` | An array of artifact patterns (same as ` .gitignore ` ) to include in your package distributions. |
31
31
| ` out_dir ` | ` "." ` | The directory to copy artifacts into. |
32
32
| ` work_dir ` | ` "." ` | The directory to run the commands in. All artifact patterns are relative to this directory. |
33
33
| ` clean_artifacts ` | ` true ` | Whether to clean files from the ` out_dir ` that match the artifact patterns before running the commands. |
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ class OneScriptConfig:
109
109
commands : Sequence [str ]
110
110
"""The commands to run"""
111
111
112
- artifacts : Sequence [str ]
112
+ artifacts : Sequence [str ] = ()
113
113
"""Git file patterns relative to the work_dir to save as build artifacts"""
114
114
115
115
out_dir : str = "."
You can’t perform that action at this time.
0 commit comments