Hah.
-
The repo still has some serious problems. I'll fix 'em. But it's about a six hour effort, so I'm OK with it still having some issues.
Point being, though, I couldn't find a task runner I liked, so I just bloody made one.
-
The repo still has some serious problems. I'll fix 'em. But it's about a six hour effort, so I'm OK with it still having some issues.
Point being, though, I couldn't find a task runner I liked, so I just bloody made one.
Want to see an example of do-runner in practice?
https://codeberg.org/rereading/pyreading/src/branch/main/Do.md
-
Want to see an example of do-runner in practice?
https://codeberg.org/rereading/pyreading/src/branch/main/Do.md
Thanks for early feedback!
To make it easier to run `do` from Bash, v0.1.1 adds `do_` and `go-do` as aliases. The README.md up on PyPI should also be easier to read now, too.
-
Thanks for early feedback!
To make it easier to run `do` from Bash, v0.1.1 adds `do_` and `go-do` as aliases. The README.md up on PyPI should also be easier to read now, too.
It should now be the case that `uv tool install do-runner` provides the `do`, `do_`, and `go-do` commands.
(Note that Do itself uses PDM, but PDM doesn't yet have a concept of global tools similar to `uvx` or `uv tool install`.)
-
It should now be the case that `uv tool install do-runner` provides the `do`, `do_`, and `go-do` commands.
(Note that Do itself uses PDM, but PDM doesn't yet have a concept of global tools similar to `uvx` or `uv tool install`.)
The biggest area that do needs improvements before I'd recommend actually using it in practice would be in terms of error handling. It's currently not very graceful about handling invalid task definitions or mistaken command-line invocations, which is less than helpful.
But again, this is a ~six hour effort. I plan on making it more useful, but I needed to get something off the ground to unblock other projects for now.
-
The biggest area that do needs improvements before I'd recommend actually using it in practice would be in terms of error handling. It's currently not very graceful about handling invalid task definitions or mistaken command-line invocations, which is less than helpful.
But again, this is a ~six hour effort. I plan on making it more useful, but I needed to get something off the ground to unblock other projects for now.
If you are brave and do want to give Do a try in your own projects, it is *by design* a single long file that you can copy and paste into your own projects. That's not the most elegant way of doing things (heh), but it does mean you can easily vendor it in when bootstrapping would otherwise be a problem.
You can also use `do` as a development dependency, so `pdm run do` should work. Lots of ways of running it, depending on what your project needs.
-
If you are brave and do want to give Do a try in your own projects, it is *by design* a single long file that you can copy and paste into your own projects. That's not the most elegant way of doing things (heh), but it does mean you can easily vendor it in when bootstrapping would otherwise be a problem.
You can also use `do` as a development dependency, so `pdm run do` should work. Lots of ways of running it, depending on what your project needs.
(Because, as @glyph is fond of pointing out, I tend to build and break my tools with my tools, https://codeberg.org/cgranade/do itself uses `do`...)
-
(Because, as @glyph is fond of pointing out, I tend to build and break my tools with my tools, https://codeberg.org/cgranade/do itself uses `do`...)
Anyway, please enjoy this section of Do's README.md.
-
undefined oblomov@sociale.network shared this topic
