From 0d61a089e7e03bcfc85d30dff218d03478e913f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 10 Jan 2016 19:27:20 +0100 Subject: Update user guide --- guide/getting_started.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'guide/getting_started.html') diff --git a/guide/getting_started.html b/guide/getting_started.html index c9d4bba..b34b6e0 100644 --- a/guide/getting_started.html +++ b/guide/getting_started.html @@ -132,7 +132,12 @@ using the gen_server template.

This module is make:

$ make
  ERLC   my_server.erl
  APP    hello_joe.app.src

All that’s left to do is to open it in your favorite editor -and make it do something!

2.8. Getting help

During development, if you don’t remember the name of a target, +and make it do something!

2.8. Hiding Erlang.mk from git

Erlang.mk is a large text file. It can easily take a large part of +a git diff or a git grep command. You can avoid this by telling +Git that erlang.mk is a binary file.

Add this to your .gitattributes file. This is a file that you +can create at the root of your repository:

erlang.mk -diff

The erlang.mk file will still appear in diffs and greps, but +as a binary file, meaning its contents won’t be shown by default +anymore.

2.9. Getting help

During development, if you don’t remember the name of a target, you can always run make help:

$ make help
 erlang.mk (version 1.2.0-642-gccd2b9f) is distributed under the terms of the ISC License.
 Copyright (c) 2013-2015 Loïc Hoguin <essen@ninenines.eu>
-- 
cgit v1.2.3