On Saturday, 18 June 2016 at 08:05:18 UTC, Jason White wrote:
I realize you might be playing devil's advocate a bit and I
Yeah, I personally quite like how Button looks and would totally
consider it, probably with some tweaks of own taste. But not for
most public projects for a reasons mentioned.
Let me propose another idea where maybe we can remove the extra
dependency for new codebase collaborators but still have access
to a full-blown build system: Add a sub-command to Button that
produces a shell script to run the build. For example, `button
shell -o build.sh`. Then just run `./build.sh` to build
everything. I vaguely recall either Tup or Ninja having
something like this.
This actually sounds nice. Main problem that comes to my mind is
that there is no cross-platform shell script. Even if it is list
of plain unconditional commands there are always differences like
normalized path form. Of course, one can always generate
`build.d` as a shell script, but that would only work for D
projects and Button is supposed to be a generic solution.