diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-11-14 17:44:19 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-11-14 17:44:19 +0000 |
commit | ad9ca0cc8644b0a89a05ea184483c1d7b8318fcd (patch) | |
tree | 4720475fc96ecdd5fb2eb87147fee7a3131c93fc /doc | |
parent | 284a5972fab4195f4f99d655bd2fbeecf1648858 (diff) |
Built-in templates create the project directory
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins.md | 5 | ||||
-rw-r--r-- | doc/templates.md | 1 |
2 files changed, 4 insertions, 2 deletions
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 ## |