Skip to content

Commit 40b0a79

Browse files
committed
chore: Simplify build duty
1 parent 852b5d2 commit 40b0a79

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

duties.py

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -379,25 +379,11 @@ def build(ctx: Context) -> None:
379379
```
380380
381381
Build distributions of your project for the current version.
382-
The build task uses the [`build` tool](https://build.pypa.io/en/stable/)
383-
to build `.tar.gz` (Gzipped sources archive) and `.whl` (wheel) distributions
384-
of your project in the `dist` directory.
382+
Distribution files will be created in the `dist` directory.
385383
"""
386384
ctx.run(
387-
tools.build(),
388-
title="Building meta package source and wheel distributions",
389-
pty=PTY,
390-
)
391-
ctx.run(
392-
tools.build(outdir="../../dist"),
393-
workdir="packages/griffelib",
394-
title="Building library source and wheel distributions",
395-
pty=PTY,
396-
)
397-
ctx.run(
398-
tools.build(outdir="../../dist"),
399-
workdir="packages/griffecli",
400-
title="Building CLI source and wheel distributions",
385+
["uv", "build", "--all"],
386+
title="Building package source and wheel distributions",
401387
pty=PTY,
402388
)
403389

0 commit comments

Comments
 (0)