Giter Club home page Giter Club logo

Comments (7)

oubiwann avatar oubiwann commented on May 31, 2024 1

As for docs, it looks like I would need to update these:

from rebar3.

ferd avatar ferd commented on May 31, 2024 1

Yep, sorry. I've just manually allowed the run, always manual mode until a contrib is merged apparently.

from rebar3.

ferd avatar ferd commented on May 31, 2024

Yeah looking at it, and since the default shell_args argument is [], the apply/3 form might work fine. The doc does need updating, and if you're submitting a PR, I'll merge it ASAP since it seems the args had been changed a while ago.

The only risk with the apply/3 form is ending up with an undef error, which would mean the list of arguments given was invalid. The other slight risk there is that it's possible at some point the two formats for ShellArgs could start changing between versions, and keeping compatibility would be a challenge, all pushed onto plugin writers.

If the latter risk seems acceptable to you (the target audience for this option set) then I think we're good with the proposed implementation.

from rebar3.

oubiwann avatar oubiwann commented on May 31, 2024

Nice -- Thanks!

I'll update the docs and take the PR out of draft.

from rebar3.

oubiwann avatar oubiwann commented on May 31, 2024

Btw, the GH Actions CI/CD that need to run for this PR, only the most recent should be run -- that's the one that has the update for the dialyzer ignore (arity change).

from rebar3.

ferd avatar ferd commented on May 31, 2024

I merged it, but I'm just noticing now that I'm looking at the doc PR that we fetch the config from shell_args but allow the config value to be user_drv_args How are we actually wiring these two arguments together? How has this ever worked?

Oh I guess one is the CLI option and one is the state option?

from rebar3.

oubiwann avatar oubiwann commented on May 31, 2024

Oh I guess one is the CLI option and one is the state option?

That is my understanding, yes. (this trips me up every couple of years when I dive into this part of the code ...)

from rebar3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.