summaryrefslogblamecommitdiffstats
path: root/archives/extend/2013-August/000211.html
blob: 28333c39a3d87781bb1b1794ff763e0632582f4f (plain) (tree)


































































































                                                                                                                                                                                                                                                          
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] [erlang-questions] [ANN] erlang.mk build tool
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20erlang.mk%20build%20tool&In-Reply-To=%3CCAGrdgiWNpD7GAgE-8xHamW9FQSvnp%3D1SxODXeHy8erK8%2BP5wVg%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000209.html">
   <LINK REL="Next"  HREF="000212.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] [erlang-questions] [ANN] erlang.mk build tool</H1>
    <B>Jesper Louis Andersen</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20erlang.mk%20build%20tool&In-Reply-To=%3CCAGrdgiWNpD7GAgE-8xHamW9FQSvnp%3D1SxODXeHy8erK8%2BP5wVg%40mail.gmail.com%3E"
       TITLE="[99s-extend] [erlang-questions] [ANN] erlang.mk build tool">jesper.louis.andersen at erlang-solutions.com
       </A><BR>
    <I>Fri Aug 16 10:01:01 CEST 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000209.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
        <LI>Next message: <A HREF="000212.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#211">[ date ]</a>
              <a href="thread.html#211">[ thread ]</a>
              <a href="subject.html#211">[ subject ]</a>
              <a href="author.html#211">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Thu, Aug 15, 2013 at 4:19 PM, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt; wrote:

&gt;<i> I would like to make an official announcement of erlang.mk now that all
</I>&gt;<i> the features I wanted are in.
</I>&gt;<i>
</I>
I have been using erlang.mk for a while now, and recently I converted
etorrent to use it as a test of the viability in larger projects. Typical
gotchas:

* Projects has no Makefile. erlang.mk needs one. So add one!
* No `modules` section in the .app file. erlang.mk needs one to replace it.
Not adding this makes relx behave badly.
* If you use relx, it is more strict in what it accepts.
* Relx can't yet overlay sys.config :/

Apart from that, erlang.mk is a bliss to work with. In one project I am
working with:

Core i5 2.4Ghz approx 2010 Macbook Pro, encrypted disk (this hurts
performance like mad):

Cold build:

Rebar: 40 secs
elrang.mk: 42 secs

Build where each file is compiled in advance:

Rebar: 20 secs
erlang.mk: 0.4 secs

For my development cycle, this is important enough to spend time rewriting
projects to use erlang.mk. Also note that rebar.config and erlang.mk can
co-exist, so you don't need to abandon rebar for erlang.mk, which is
important.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130816/1c70f542/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130816/1c70f542/attachment.html</A>&gt;
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000209.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
	<LI>Next message: <A HREF="000212.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#211">[ date ]</a>
              <a href="thread.html#211">[ thread ]</a>
              <a href="subject.html#211">[ subject ]</a>
              <a href="author.html#211">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>