summaryrefslogtreecommitdiffstats
path: root/articles/erlang.mk-and-relx/index.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-29 12:39:49 +0200
committerLoïc Hoguin <[email protected]>2016-08-29 12:40:03 +0200
commitc807880f7ac73f813b2660ea81a00f7712a4e793 (patch)
treeba1d09e9b177f230665a80513b33fbd532000ce4 /articles/erlang.mk-and-relx/index.html
parentb1df25a7d9cda697513650659b781b55b40898f8 (diff)
downloadninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip
Add old mailing list archives
Diffstat (limited to 'articles/erlang.mk-and-relx/index.html')
-rw-r--r--articles/erlang.mk-and-relx/index.html30
1 files changed, 4 insertions, 26 deletions
diff --git a/articles/erlang.mk-and-relx/index.html b/articles/erlang.mk-and-relx/index.html
index 69022b82..bc3f36d6 100644
--- a/articles/erlang.mk-and-relx/index.html
+++ b/articles/erlang.mk-and-relx/index.html
@@ -98,13 +98,7 @@ it will be a pretty small one.</p></div>
Makefile. There is only one thing required: defining the project
name.</p></div>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><span style="color: #009900">PROJECT =</span> my_project
-
-include erlang.mk</tt></pre></div></div>
+<div class="content"></div></div>
<div class="paragraph"><p>Simply doing this allows you to build your application by typing
<code>make</code>, running tests using <code>make tests</code>, and
more. It will even compile your <em>.dtl</em> files found in the
@@ -112,25 +106,7 @@ more. It will even compile your <em>.dtl</em> files found in the
<div class="paragraph"><p>Let&#8217;s now take a look at a simplified version of the Makefile for
this website. I only removed a few targets that were off-topic.</p></div>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><span style="color: #009900">PROJECT =</span> ninenines
-
-<span style="color: #009900">DEPS =</span> cowboy erlydtl
-<span style="color: #009900">dep_cowboy =</span> https<span style="color: #990000">:</span>//github.com/extend/cowboy.git 0.8.5
-<span style="color: #009900">dep_erlydtl =</span> https<span style="color: #990000">:</span>//github.com/evanmiller/erlydtl.git 4d0dc8fb
-
-<span style="font-weight: bold"><span style="color: #000080">.PHONY:</span></span> release clean-release
-
-<span style="color: #990000">release:</span> clean-release all projects
- relx -o rel<span style="color: #990000">/</span><span style="color: #009900">$(PROJECT)</span>
-
-<span style="color: #990000">clean-release:</span> clean-projects
- rm -rf rel<span style="color: #990000">/</span><span style="color: #009900">$(PROJECT)</span>
-
-include erlang.mk</tt></pre></div></div>
+<div class="content"></div></div>
<div class="paragraph"><p>You can see here how to define dependencies. First you list all
the dependency names, then you have one line per dependency, giving
the repository URL and the commit number, tag or branch you want.</p></div>
@@ -196,6 +172,8 @@ containing all the flags to pass to the Erlang VM, for example
<h3>More articles</h3>
<ul id="articles-nav" class="extra_margin">
+ <li><a href="http://ninenines.eu/articles/ml-archives/">Mailing list archived</a></li>
+
<li><a href="http://ninenines.eu/articles/website-update/">Website update</a></li>
<li><a href="http://ninenines.eu/articles/erlanger-playbook-september-2015-update/">The Erlanger Playbook September 2015 Update</a></li>