diff options
author | Loïc Hoguin <[email protected]> | 2016-05-02 10:15:02 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-05-02 10:15:02 +0200 |
commit | 7481a74c57da26ade282f59a37aaa13adbf77ce5 (patch) | |
tree | 0d73f0c95ea28e8e466b62b310bb9e1b7c6a6830 /docs/en/erlang.mk/1/guide/getting_started | |
parent | 6d6b770ee45cd9d345baed8a459c5402ad3405c6 (diff) | |
download | ninenines.eu-7481a74c57da26ade282f59a37aaa13adbf77ce5.tar.gz ninenines.eu-7481a74c57da26ade282f59a37aaa13adbf77ce5.tar.bz2 ninenines.eu-7481a74c57da26ade282f59a37aaa13adbf77ce5.zip |
Fix horizontal whitespace
Patch from @msporleder on github.
Diffstat (limited to 'docs/en/erlang.mk/1/guide/getting_started')
-rw-r--r-- | docs/en/erlang.mk/1/guide/getting_started/index.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/en/erlang.mk/1/guide/getting_started/index.html b/docs/en/erlang.mk/1/guide/getting_started/index.html index 5619b384..67c402ef 100644 --- a/docs/en/erlang.mk/1/guide/getting_started/index.html +++ b/docs/en/erlang.mk/1/guide/getting_started/index.html @@ -273,6 +273,36 @@ Eshell V7<span style="color: #990000">.</span><span style="color: #993399">0</sp </div>
</div>
<div class="sect1">
+<h2 id="_getting_started_from_scratch">Getting started from scratch</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>If you already have an application, or you want to have full
+control over what files will be created, you can setup Erlang.mk
+manually.</p></div>
+<div class="paragraph"><p>Erlang.mk is very easy to setup: all that you need to do is to
+create a folder, put Erlang.mk in it, and write a one line
+Makefile containing:</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>include erlang.mk</tt></pre></div></div>
+<div class="paragraph"><p>For a step by step:</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>$ mkdir hello_joe
+$ cd hello_joe
+$ curl https<span style="color: #990000">:</span>//raw<span style="color: #990000">.</span>githubusercontent<span style="color: #990000">.</span>com/ninenines/erlang<span style="color: #990000">.</span>mk/master/erlang<span style="color: #990000">.</span>mk
+$ echo <span style="color: #FF0000">"include erlang.mk"</span> <span style="color: #990000">></span> Makefile
+$ make</tt></pre></div></div>
+<div class="paragraph"><p>From that point onward you can create an <code>src/</code> folder or start
+using templates.</p></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_using_spaces_instead_of_tabs">Using spaces instead of tabs</h2>
<div class="sectionbody">
<div class="paragraph"><p>Erlang.mk defaults to tabs when creating files from templates.
|