dub should be more command-line oriented
JN
666total at wp.pl
Thu Jan 11 14:13:07 UTC 2018
On Wednesday, 10 January 2018 at 15:07:40 UTC, Luís Marques wrote:
> universe 1:
> 10) I finish the refactoring
> 11) I forget to remove the new setting
>
> universe 2:
> 10) I remove "allowWarnings" immediately
> 11) while trying to do another intermediate testing step, I get
> another warning
> 12) goto 7 or 8
universe 3:
a newcomer to the project wants to build it with as little effort
as possible:
1) git clone from github
2) dub build - fails
3) read through readme to find some special commandline switches
that need to be added / find some shell script (Linux only)
hidden in build directory
4) finally build the project
I think files have the advantage of explicitly specifying the
dependencies. Relying on commandline switches is more risky and
often such switches land in platform-specific shell scripts which
are harder to maintain.
More information about the Digitalmars-d
mailing list