On Fri Aug 08, 2025 at 04:57:06PM +0100, Edd Barrett wrote:
> Hi,
> 
> Attached is a port of just (https://just.systems/).
> 
> It's a little "command runner", which I'm finding useful for quickly 
> automating
> multi-command development tasks that I'm going to do more than a handful of
> times (as an alternative to shell script or Makefile).
> 
> Notes:
>  - There is HTML documentation that we could in theory bundle, if we can 
> figure
>    out how it's generated (not mdbook, as I'd expected). Probably not worth 
> the
>    trouble.
> 
>  - One test fails with:
>    ```
>    thread 'functions::env_var_functions' panicked at tests/functions.rs:86:55:
>    called `Result::unwrap()` on an `Err` value: NotPresent
>    ```
> 
>    Which is this code:
>    ```
>    .stdout(format!("{} HTAP ABC\n", env::var("USER").unwrap()).as_str())
>    ```
> 
>    In other words, $USER isn't in the environment. You'd have thought adding 
> it
>    with `TEST_ENV += USER=blah` would work, but alas, no cigar.
> 
>    Adding a `do-test` which echos $USER prints `_pbuild` as I would expect...
> 
>    This test works on OpenBSD outside of the ports tree, so it must be some
>    ports quirk.
> 
>    I don't think this should block import, but doesn anyone know what's going
>    on there?
> 
> Cheers
> 
> -- 
> Best Regards
> Edd Barrett
> 
> https://www.theunixzoo.co.uk

The DESCR COULD BE a little more detailed, but otherwise it's OK rsadowski

Reply via email to