From ad9ca0cc8644b0a89a05ea184483c1d7b8318fcd Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Fri, 14 Nov 2014 17:44:19 +0000 Subject: Built-in templates create the project directory --- doc/plugins.md | 5 +++-- doc/templates.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/plugins.md b/doc/plugins.md index f31f96b..5ba8e65 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -61,10 +61,11 @@ In this tutorial, we'll show how to start from scratch, and get a basic plugin w The first step is to create a new OTP Application that will contain the plugin: - → git init - Initialized empty Git repository in /Users/ferd/code/self/rebar3-todo-plugin/.git/ → rebar3 new plugin provider_todo desc="example rebar3 plugin" ... + → cd provider_todo + → git init + Initialized empty Git repository in /Users/ferd/code/self/provider_todo/.git/ Open up the `src/provider_todo.erl` file and make sure you have the following skeleton in place: diff --git a/doc/templates.md b/doc/templates.md index 888f356..096cd37 100644 --- a/doc/templates.md +++ b/doc/templates.md @@ -73,6 +73,7 @@ Alternatively, the `name` variable is special -- if the first argument to a temp → ./rebar3 new plugin demo author_name="Fred H." ... +Then go to the directory created for the project by rebar3. ## Custom Templates ## -- cgit v1.1