Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

If we're going to hide rebar from the user for make app we might as w…

…ell use slightly better variable name.
  • Loading branch information...
commit cfbcb9b10f691654d99938489f0523bfc7822c28 1 parent db6c339
David Reid authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 Makefile
  2. +2 −2 README
View
4 Makefile
@@ -1,6 +1,6 @@
PREFIX:=../
-DEST:=$(PREFIX)$(APPID)
+DEST:=$(PREFIX)$(PROJECT)
REBAR=./rebar
@@ -23,5 +23,5 @@ dialyzer:
@$(REBAR) analyze
app:
- @$(REBAR) create template=mochiwebapp dest=$(DEST) appid=$(APPID)
+ @$(REBAR) create template=mochiwebapp dest=$(DEST) appid=$(PROJECT)
View
4 README
@@ -9,7 +9,7 @@ The R12B branch of that repository is mirrored in the official repository
occasionally for convenience.
To create a new mochiweb using project:
- make app APPID=project_name
+ make app PROJECT=project_name
To create a new mochiweb using project in a specific directory:
- make app APPID=project_name PREFIX=$HOME/projects/
+ make app PROJECT=project_name PREFIX=$HOME/projects/

0 comments on commit cfbcb9b

Please sign in to comment.
Something went wrong with that request. Please try again.