blob: 23de61be5c5475a32de6354591ed2760669709ca (
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=%3C4BEA9D47600B462DAAA7D339E9AE47B5%40srstrong.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="000216.html">
<LINK REL="Next" HREF="000210.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] [erlang-questions] [ANN] erlang.mk build tool</H1>
<B>Steve Strong</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=%3C4BEA9D47600B462DAAA7D339E9AE47B5%40srstrong.com%3E"
TITLE="[99s-extend] [erlang-questions] [ANN] erlang.mk build tool">steve at srstrong.com
</A><BR>
<I>Fri Aug 16 16:44:07 CEST 2013</I>
<P><UL>
<LI>Previous message: <A HREF="000216.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
<LI>Next message: <A HREF="000210.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#218">[ date ]</a>
<a href="thread.html#218">[ thread ]</a>
<a href="subject.html#218">[ subject ]</a>
<a href="author.html#218">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Was guessing that was the answer - I'll give it a go...
--
Steve Strong
Sent with Sparrow (<A HREF="http://www.sparrowmailapp.com/?sig">http://www.sparrowmailapp.com/?sig</A>)
On Friday, 16 August 2013 at 16:42, Loïc Hoguin wrote:
><i> Well I'm sure if you create a base Makefile (without erlang.mk) that
</I>><i> exports DEPS_DIR and then call $(MAKE) on all folders in /apps (which
</I>><i> would themselves contain Makefiles that use erlang.mk), it would work
</I>><i> just fine. You can still keep only one erlang.mk in your repos and use
</I>><i> include ../../erlang.mk instead for example.
</I>><i>
</I>><i> But know that this folder structure is a rebar thing and not standard
</I>><i> (just like /deps you'll say, but that one is insanely useful regardless
</I>><i> of the project structure otherwise).
</I>><i>
</I>><i> On 08/16/2013 02:27 PM, Steve Strong wrote:
</I>><i> > Looks good - I like simple! Quick question, does it support multiple
</I>><i> > applications, for example a project laid out as:
</I>><i> >
</I>><i> > /proj
</I>><i> > /deps
</I>><i> > /stuff
</I>><i> >
</I>><i> > /apps
</I>><i> > /app1
</I>><i> > /app2
</I>><i> >
</I>><i> > Most of our stuff is in that form, with shared dependencies between the
</I>><i> > various apps. Rebar is quite happy with that format, but I can't see
</I>><i> > how to persuade erlang.mk to handle that.
</I>><i> >
</I>><i> > Cheers,
</I>><i> >
</I>><i> > Steve
</I>><i> >
</I>><i> > --
</I>><i> > Steve Strong
</I>><i> > Sent with Sparrow <<A HREF="http://www.sparrowmailapp.com/?sig">http://www.sparrowmailapp.com/?sig</A>>
</I>><i> >
</I>><i> > On Thursday, 15 August 2013 at 16:19, Loïc Hoguin wrote:
</I>><i> >
</I>><i> > > Hello friendly people,
</I>><i> > >
</I>><i> > > I would like to make an official announcement of erlang.mk now that all
</I>><i> > > the features I wanted are in.
</I>><i> > >
</I>><i> > > erlang.mk is a rebar replacement. It was initially created for allowing
</I>><i> > > a faster development process than rebar and for better compatibility
</I>><i> > > with Linux build tools. It should work on Linux and OSX with GNU Make
</I>><i> > > installed.
</I>><i> > >
</I>><i> > > Projects using erlang.mk are still compatible with rebar. Dependencies
</I>><i> > > fetched by rebar are stored in the same deps/ directory, and projects
</I>><i> > > using erlang.mk can still be used as rebar dependencies, with or without
</I>><i> > > a rebar.config file.
</I>><i> > >
</I>><i> > > erlang.mk also features a simple package index. Try `make pkg-list` to
</I>><i> > > list all packages currently available. All the packages listed are
</I>><i> > > compatible with erlang.mk with no tweaking required.
</I>><i> > >
</I>><i> > > Makefiles written with erlang.mk are *VERY* simple, here are two examples:
</I>><i> > >
</I>><i> > > * <A HREF="https://github.com/extend/farwest/blob/master/Makefile">https://github.com/extend/farwest/blob/master/Makefile</A>
</I>><i> > > * <A HREF="https://github.com/extend/cowboy/blob/master/Makefile">https://github.com/extend/cowboy/blob/master/Makefile</A>
</I>><i> > >
</I>><i> > > I wrote about erlang.mk and relx recently on the Nine Nines blog.
</I>><i> > > erlang.mk is the perfect companion to relx.
</I>><i> > >
</I>><i> > > * <A HREF="http://ninenines.eu/articles/erlang.mk-and-relx">http://ninenines.eu/articles/erlang.mk-and-relx</A>
</I>><i> > >
</I>><i> > > Here are examples of projects that are using and compatible with
</I>><i> > > erlang.mk:
</I>><i> > >
</I>><i> > > * <A HREF="https://github.com/jlouis/etorrent">https://github.com/jlouis/etorrent</A>
</I>><i> > > * <A HREF="https://github.com/extend/cowboy">https://github.com/extend/cowboy</A>
</I>><i> > > * <A HREF="https://github.com/extend/farwest">https://github.com/extend/farwest</A>
</I>><i> > >
</I>><i> > > You can find erlang.mk at the following URL:
</I>><i> > >
</I>><i> > > * <A HREF="https://github.com/extend/erlang.mk">https://github.com/extend/erlang.mk</A>
</I>><i> > >
</I>><i> > > Contributions to the package index are of course welcome! The only
</I>><i> > > requirement is that the package is to be compatible with erlang.mk
</I>><i> > > itself. Just send a PR to the erlang.mk project updating the
</I>><i> > > packages.v1.txt!
</I>><i> > >
</I>><i> > > Enjoy!
</I>><i> > >
</I>><i> > > --
</I>><i> > > Loïc Hoguin
</I>><i> > > Erlang Cowboy
</I>><i> > > Nine Nines
</I>><i> > > <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>><i> > > _______________________________________________
</I>><i> > > erlang-questions mailing list
</I>><i> > > <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>>
</I>><i> > > <A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>
</I>><i> > >
</I>><i> >
</I>><i> >
</I>><i>
</I>><i>
</I>><i>
</I>><i> --
</I>><i> Loïc Hoguin
</I>><i> Erlang Cowboy
</I>><i> Nine Nines
</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>><i>
</I>><i>
</I>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130816/1cd82d09/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130816/1cd82d09/attachment.html</A>>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000216.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
<LI>Next message: <A HREF="000210.html">[99s-extend] [erlang-questions] [ANN] erlang.mk build tool
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#218">[ date ]</a>
<a href="thread.html#218">[ thread ]</a>
<a href="subject.html#218">[ subject ]</a>
<a href="author.html#218">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|