digitalmars.D.learn - dub command line in config?
- Jinx (2/2) Oct 08 2016 how to add command line options to the dub.json so they do not
- Mike Parker (3/5) Oct 08 2016 AFAIK, there's not support for this. Is it really necessary,
- Jinx (5/10) Oct 08 2016 huh? Yes it is necessary. How hard could it be. Editing a script
- Mike Parker (8/12) Oct 08 2016 Harder is relative. You're talking about adding a maintenance
- Jinx (15/28) Oct 09 2016 Come on, stop trying to be the asshole. You know as well as I do
- rikki cattermole (7/36) Oct 09 2016 That is enough.
- Jinx (4/13) Oct 09 2016 Yessim boss! plez dunt hurt me! he shoed ma how too puck da
- WhatMeWorry (2/19) Oct 09 2016 Hey Jinx. Why don't you rename yourself to Jerk.
- Seb (6/26) Oct 10 2016 This is not a company - this is open source. I understand that
how to add command line options to the dub.json so they do not have to be typed on the command line every time?
Oct 08 2016
On Saturday, 8 October 2016 at 23:05:51 UTC, Jinx wrote:how to add command line options to the dub.json so they do not have to be typed on the command line every time?AFAIK, there's not support for this. Is it really necessary, though? It's a one line shell script.
Oct 08 2016
On Sunday, 9 October 2016 at 05:09:28 UTC, Mike Parker wrote:On Saturday, 8 October 2016 at 23:05:51 UTC, Jinx wrote:huh? Yes it is necessary. How hard could it be. Editing a script is the same as editing the json file and creates junk files. Why make things harder than they have to be? Seems like it would be rather trivial to implement.how to add command line options to the dub.json so they do not have to be typed on the command line every time?AFAIK, there's not support for this. Is it really necessary, though? It's a one line shell script.
Oct 08 2016
On Sunday, 9 October 2016 at 05:34:36 UTC, Jinx wrote:huh? Yes it is necessary. How hard could it be. Editing a script is the same as editing the json file and creates junk files. Why make things harder than they have to be? Seems like it would be rather trivial to implement.Harder is relative. You're talking about adding a maintenance cost to dub for something that can be trivially done in a script. Regardless, your best bet is to add an enhancement request to dub's issue list [1] and see how it goes. Be sure to clarify if you're talking about passing args to dub or to the target of `dub run`, or both. [1] https://github.com/dlang/dub/issues
Oct 08 2016
On Sunday, 9 October 2016 at 06:55:44 UTC, Mike Parker wrote:On Sunday, 9 October 2016 at 05:34:36 UTC, Jinx wrote:Come on, stop trying to be the asshole. You know as well as I do that it would require nearly 0 maintenance. You act like this is rocket science when really you are just being lazy. With your logic there is no reason to do anything because everything requires some non-zero maintenance cost. I have to maintain my script too, that is non-zero. The dub source code already has all the machinery required(parsing the dub json file and parsing the commands) so it would require very little code and require very little maintenance and provide a huge benefit for complex command line arguments and allow those command lines to propagate with the project file instead of the user having to provide a potentially security hole by passing around script files. See, you can't win because you are wrong.huh? Yes it is necessary. How hard could it be. Editing a script is the same as editing the json file and creates junk files. Why make things harder than they have to be? Seems like it would be rather trivial to implement.Harder is relative. You're talking about adding a maintenance cost to dub for something that can be trivially done in a script. Regardless, your best bet is to add an enhancement request to dub's issue list [1] and see how it goes. Be sure to clarify if you're talking about passing args to dub or to the target of `dub run`, or both. [1] https://github.com/dlang/dub/issues
Oct 09 2016
On 09/10/2016 9:17 PM, Jinx wrote:On Sunday, 9 October 2016 at 06:55:44 UTC, Mike Parker wrote:That is enough. Mike Parker has presented a workaround that you can implement. He has also shown how you can contact those that have the power to make this happen as you desire. But as shown by other related issues[0], you may not get what you want. [0] https://github.com/dlang/dub/issues/940On Sunday, 9 October 2016 at 05:34:36 UTC, Jinx wrote:Come on, stop trying to be the asshole. You know as well as I do that it would require nearly 0 maintenance. You act like this is rocket science when really you are just being lazy. With your logic there is no reason to do anything because everything requires some non-zero maintenance cost. I have to maintain my script too, that is non-zero. The dub source code already has all the machinery required(parsing the dub json file and parsing the commands) so it would require very little code and require very little maintenance and provide a huge benefit for complex command line arguments and allow those command lines to propagate with the project file instead of the user having to provide a potentially security hole by passing around script files. See, you can't win because you are wrong.huh? Yes it is necessary. How hard could it be. Editing a script is the same as editing the json file and creates junk files. Why make things harder than they have to be? Seems like it would be rather trivial to implement.Harder is relative. You're talking about adding a maintenance cost to dub for something that can be trivially done in a script. Regardless, your best bet is to add an enhancement request to dub's issue list [1] and see how it goes. Be sure to clarify if you're talking about passing args to dub or to the target of `dub run`, or both. [1] https://github.com/dlang/dub/issues
Oct 09 2016
On Sunday, 9 October 2016 at 08:52:55 UTC, rikki cattermole wrote:On 09/10/2016 9:17 PM, Jinx wrote:Yessim boss! plez dunt hurt me! he shoed ma how too puck da cotton n giv me dis hur bag. I alredy no hew to puck da cotton n hud me own bag.[...]That is enough. Mike Parker has presented a workaround that you can implement. He has also shown how you can contact those that have the power to make this happen as you desire. But as shown by other related issues[0], you may not get what you want. [0] https://github.com/dlang/dub/issues/940
Oct 09 2016
On Sunday, 9 October 2016 at 19:11:52 UTC, Jinx wrote:On Sunday, 9 October 2016 at 08:52:55 UTC, rikki cattermole wrote:Hey Jinx. Why don't you rename yourself to Jerk.On 09/10/2016 9:17 PM, Jinx wrote:Yessim boss! plez dunt hurt me! he shoed ma how too puck da cotton n giv me dis hur bag. I alredy no hew to puck da cotton n hud me own bag.[...]That is enough. Mike Parker has presented a workaround that you can implement. He has also shown how you can contact those that have the power to make this happen as you desire. But as shown by other related issues[0], you may not get what you want. [0] https://github.com/dlang/dub/issues/940
Oct 09 2016
On Sunday, 9 October 2016 at 20:03:58 UTC, WhatMeWorry wrote:On Sunday, 9 October 2016 at 19:11:52 UTC, Jinx wrote:This is not a company - this is open source. I understand that one can be frustrated sometimes, but it should be kept in mind that all contributions happen voluntarily in people's free time. If you want something to be changed (and can't wait that someone does it in their free time), please submit a PR.On Sunday, 9 October 2016 at 08:52:55 UTC, rikki cattermole wrote:Hey Jinx. Why don't you rename yourself to Jerk.On 09/10/2016 9:17 PM, Jinx wrote:Yessim boss! plez dunt hurt me! he shoed ma how too puck da cotton n giv me dis hur bag. I alredy no hew to puck da cotton n hud me own bag.[...]That is enough. Mike Parker has presented a workaround that you can implement. He has also shown how you can contact those that have the power to make this happen as you desire. But as shown by other related issues[0], you may not get what you want. [0] https://github.com/dlang/dub/issues/940
Oct 10 2016