Re: erl -make returns 0 on failure.

Magnus Henoch <[email protected]> Mon, 26 Oct 2015 11:28:42 +0000
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAJ67tHp299eqBjG03qc5VjT55RbL4Z=+Cg5y7HduLdP_Ay-nxw@mail.gmail.com>
--===============2786837302698810153==
Content-Type: multipart/alternative; boundary=001a1141bc1e7286ed0523004309

--001a1141bc1e7286ed0523004309
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I posted a patch for that a while ago:

http://erlang.org/pipermail/erlang-patches/2009-March/000390.html

I got neither positive nor negative responses to it, so I'm not sure what
the general opinion is on this. If anyone feels like it, feel free to try
resubmitting the patch as a pull request.

Regards,
Magnus


On Mon, Oct 26, 2015 at 10:14 AM, Albin Stig=C3=B6 <[email protected]> =
wrote:

> Hello,
>
> I'm pretty new to Erlang and I guess this is an old discussion. But why d=
o
>
> erl -make
>
> return 0 even on error? It makes it harder to do:
>
> erl -make && erl -pa ebin/ test/ -noshell -s r1_tests test -s init stop
>
> I have found some previous posts about it through google but they
> normally boil down to "write a wrapper".
>
>
> --Albin
> _______________________________________________
> erlang-bugs mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-bugs
>

--001a1141bc1e7286ed0523004309
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>I posted a patch for that a while ago:<br><=
br><a href=3D"http://erlang.org/pipermail/erlang-patches/2009-March/000390.=
html">http://erlang.org/pipermail/erlang-patches/2009-March/000390.html</a>=
<br><br></div>I got neither positive nor negative responses to it, so I&#39=
;m not sure what the general opinion is on this. If anyone feels like it, f=
eel free to try resubmitting the patch as a pull request.<br><br></div>Rega=
rds,<br></div>Magnus<br><br></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Mon, Oct 26, 2015 at 10:14 AM, Albin Stig=C3=B6 <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">a=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">Hello,<br>
<br>
I&#39;m pretty new to Erlang and I guess this is an old discussion. But why=
 do<br>
<br>
erl -make<br>
<br>
return 0 even on error? It makes it harder to do:<br>
<br>
erl -make &amp;&amp; erl -pa ebin/ test/ -noshell -s r1_tests test -s init =
stop<br>
<br>
I have found some previous posts about it through google but they<br>
normally boil down to &quot;write a wrapper&quot;.<br>
<br>
<br>
--Albin<br>
_______________________________________________<br>
erlang-bugs mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"http://erlang.org/mailman/listinfo/erlang-bugs" rel=3D"noreferre=
r" target=3D"_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
</blockquote></div><br></div>

--001a1141bc1e7286ed0523004309--

--===============2786837302698810153==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs

--===============2786837302698810153==--