summaryrefslogtreecommitdiffstats
path: root/archives/extend/2013-August/000216.html
blob: ef9d25636439f6e82152d347d7fccef6d86599fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!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=%3C520E3A5F.7000800%40ninenines.eu%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="000214.html">
   <LINK REL="Next"  HREF="000218.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] [erlang-questions] [ANN] erlang.mk build tool</H1>
    <B>Lo&#239;c Hoguin</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=%3C520E3A5F.7000800%40ninenines.eu%3E"
       TITLE="[99s-extend] [erlang-questions] [ANN] erlang.mk build tool">essen at ninenines.eu
       </A><BR>
    <I>Fri Aug 16 16:42:39 CEST 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000214.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
        <LI>Next message: <A HREF="000218.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#216">[ date ]</a>
              <a href="thread.html#216">[ thread ]</a>
              <a href="subject.html#216">[ subject ]</a>
              <a href="author.html#216">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Well I'm sure if you create a base Makefile (without erlang.mk) that 
exports DEPS_DIR and then call $(MAKE) on all folders in /apps (which 
would themselves contain Makefiles that use erlang.mk), it would work 
just fine. You can still keep only one erlang.mk in your repos and use 
include ../../erlang.mk instead for example.

But know that this folder structure is a rebar thing and not standard 
(just like /deps you'll say, but that one is insanely useful regardless 
of the project structure otherwise).

On 08/16/2013 02:27 PM, Steve Strong wrote:
&gt;<i> Looks good - I like simple!  Quick question, does it support multiple
</I>&gt;<i> applications, for example a project laid out as:
</I>&gt;<i>
</I>&gt;<i> /proj
</I>&gt;<i> /deps
</I>&gt;<i> /stuff
</I>&gt;<i>
</I>&gt;<i> /apps
</I>&gt;<i> /app1
</I>&gt;<i> /app2
</I>&gt;<i>
</I>&gt;<i> Most of our stuff is in that form, with shared dependencies between the
</I>&gt;<i> various apps.  Rebar is quite happy with that format, but I can't see
</I>&gt;<i> how to persuade erlang.mk to handle that.
</I>&gt;<i>
</I>&gt;<i> Cheers,
</I>&gt;<i>
</I>&gt;<i> Steve
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Steve Strong
</I>&gt;<i> Sent with Sparrow &lt;<A HREF="http://www.sparrowmailapp.com/?sig">http://www.sparrowmailapp.com/?sig</A>&gt;
</I>&gt;<i>
</I>&gt;<i> On Thursday, 15 August 2013 at 16:19, Lo&#239;c Hoguin wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> Hello friendly people,
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I would like to make an official announcement of erlang.mk now that all
</I>&gt;&gt;<i> the features I wanted are in.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> erlang.mk is a rebar replacement. It was initially created for allowing
</I>&gt;&gt;<i> a faster development process than rebar and for better compatibility
</I>&gt;&gt;<i> with Linux build tools. It should work on Linux and OSX with GNU Make
</I>&gt;&gt;<i> installed.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Projects using erlang.mk are still compatible with rebar. Dependencies
</I>&gt;&gt;<i> fetched by rebar are stored in the same deps/ directory, and projects
</I>&gt;&gt;<i> using erlang.mk can still be used as rebar dependencies, with or without
</I>&gt;&gt;<i> a rebar.config file.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> erlang.mk also features a simple package index. Try `make pkg-list` to
</I>&gt;&gt;<i> list all packages currently available. All the packages listed are
</I>&gt;&gt;<i> compatible with erlang.mk with no tweaking required.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Makefiles written with erlang.mk are *VERY* simple, here are two examples:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> * <A HREF="https://github.com/extend/farwest/blob/master/Makefile">https://github.com/extend/farwest/blob/master/Makefile</A>
</I>&gt;&gt;<i> * <A HREF="https://github.com/extend/cowboy/blob/master/Makefile">https://github.com/extend/cowboy/blob/master/Makefile</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I wrote about erlang.mk and relx recently on the Nine Nines blog.
</I>&gt;&gt;<i> erlang.mk is the perfect companion to relx.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> * <A HREF="http://ninenines.eu/articles/erlang.mk-and-relx">http://ninenines.eu/articles/erlang.mk-and-relx</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Here are examples of projects that are using and compatible with
</I>&gt;&gt;<i> erlang.mk:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> * <A HREF="https://github.com/jlouis/etorrent">https://github.com/jlouis/etorrent</A>
</I>&gt;&gt;<i> * <A HREF="https://github.com/extend/cowboy">https://github.com/extend/cowboy</A>
</I>&gt;&gt;<i> * <A HREF="https://github.com/extend/farwest">https://github.com/extend/farwest</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> You can find erlang.mk at the following URL:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> * <A HREF="https://github.com/extend/erlang.mk">https://github.com/extend/erlang.mk</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Contributions to the package index are of course welcome! The only
</I>&gt;&gt;<i> requirement is that the package is to be compatible with erlang.mk
</I>&gt;&gt;<i> itself. Just send a PR to the erlang.mk project updating the
</I>&gt;&gt;<i> packages.v1.txt!
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Enjoy!
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> --
</I>&gt;&gt;<i> Lo&#239;c Hoguin
</I>&gt;&gt;<i> Erlang Cowboy
</I>&gt;&gt;<i> Nine Nines
</I>&gt;&gt;<i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>&gt;&gt;<i> _______________________________________________
</I>&gt;&gt;<i> erlang-questions mailing list
</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>&gt;
</I>&gt;&gt;<i> <A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>
</I>&gt;<i>
</I>

-- 
Lo&#239;c Hoguin
Erlang Cowboy
Nine Nines
<A HREF="http://ninenines.eu">http://ninenines.eu</A>

</PRE>

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

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