Comments (7)
As for docs, it looks like I would need to update these:
- The
user_drv_args
entry inrebar_prv_shell
'sopts
- https://github.com/tsloughter/rebar3.org/blob/master/content/en/docs/commands.md
from rebar3.
Yep, sorry. I've just manually allowed the run, always manual mode until a contrib is merged apparently.
from rebar3.
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.
Nice -- Thanks!
I'll update the docs and take the PR out of draft.
from rebar3.
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.
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.
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)
- src_tests option for Relx could be very slow but enabled by default HOT 3
- rebar3 shell ctrl+c exits, unlike erl or iex, and breaks macos zsh terminal HOT 4
- {bad_name, setup} error during rebar3 escriptize HOT 6
- New command 'alias' HOT 2
- "Newly added dep is locked at a lower level" (also) reported when upgrade command is issued HOT 4
- Executing rebar3 throwing escript exception HOT 1
- Templates not found on Fedora Linux HOT 4
- `rebar3 tree` formats its output very badly when called together with OTP26 HOT 4
- Question: Sharing modules between multiple applications
- Many [r3_hex_http] ... is deprecated in favour of ... messages during compilation and upgrades HOT 1
- are there checksum available ? HOT 4
- Escript creation failure reason swallowed by post-hook failure. HOT 1
- Possible error in rebar_core HOT 1
- Uncaught error in rebar_core when running rebar3 shell HOT 1
- when use -name, remote_console connect failed HOT 1
- "Did you mean ...?" suggestions for misspelled commands HOT 7
- rebar3 auto: Error loading module enotify HOT 1
- Tag usage in newer rebar3 versions HOT 14
- Hooks env variables documentation HOT 1
- {mode, ...} overrides variables explicitly set in the profile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rebar3.