<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 20, 2016 at 10:21 AM, Dicebot via Digitalmars-d-announce <span dir="ltr"><<a href="mailto:digitalmars-d-announce@puremagic.com" target="_blank">digitalmars-d-announce@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">On Monday, 20 June 2016 at 02:46:13 UTC, Jason White wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
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.<br>
</blockquote>
<br>
I'd make it so it could either produce a Bash or Batch script. Possibly also a PowerShell script because error handling in Batch is awful. That should cover any platform it might be needed on. Normalizing paths shouldn't be a problem either.<br>
<br>
This should actually be pretty easy to implement.<br>
</blockquote>
<br></span>
Will plain sh script script also work for MacOS / BSD flavors? Committing just two scripts is fine but I wonder how it scales.<br></blockquote><div> </div></div>Bash script should work with all. I also read that Microsoft is making bash for windows[1].</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="http://www.theverge.com/2016/3/30/11331014/microsoft-windows-linux-ubuntu-bash">http://www.theverge.com/2016/3/30/11331014/microsoft-windows-linux-ubuntu-bash</a></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>