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.asciidoc | |
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.asciidoc')
-rw-r--r-- | docs/en/erlang.mk/1/guide/getting_started.asciidoc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/en/erlang.mk/1/guide/getting_started.asciidoc b/docs/en/erlang.mk/1/guide/getting_started.asciidoc index ef2f6e8e..cdb3bfe0 100644 --- a/docs/en/erlang.mk/1/guide/getting_started.asciidoc +++ b/docs/en/erlang.mk/1/guide/getting_started.asciidoc @@ -184,6 +184,33 @@ Eshell V7.0 (abort with ^G) Simple as that! +=== Getting started from scratch + +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. + +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: + +[source,make] +include erlang.mk + +For a step by step: + +[source,bash] +---- +$ mkdir hello_joe +$ cd hello_joe +$ curl https://raw.githubusercontent.com/ninenines/erlang.mk/master/erlang.mk +$ echo "include erlang.mk" > Makefile +$ make +---- + +From that point onward you can create an `src/` folder or start +using templates. + === Using spaces instead of tabs Erlang.mk defaults to tabs when creating files from templates. |