more beautiful code
This commit is contained in:
parent
3751ba8c95
commit
0a67224c97
1 changed files with 9 additions and 2 deletions
11
Makefile
11
Makefile
|
@ -2,7 +2,7 @@ ERLC=erlc
|
||||||
ERLCFLAGS=-o
|
ERLCFLAGS=-o
|
||||||
SRCDIR=src
|
SRCDIR=src
|
||||||
TESTDIR=tests
|
TESTDIR=tests
|
||||||
BEAMDIR=./ebin
|
BEAMDIR=ebin
|
||||||
|
|
||||||
all: compile erlang_js
|
all: compile erlang_js
|
||||||
|
|
||||||
|
@ -31,6 +31,13 @@ clean:
|
||||||
$(MAKE) -C erlang_js/ clean
|
$(MAKE) -C erlang_js/ clean
|
||||||
|
|
||||||
run:
|
run:
|
||||||
erl -sname ggs -mnesia -boot start_sasl -pa erlang_js/ebin/ -pa ebin -pa src -s start_ggs
|
erl \
|
||||||
|
-sname ggs \
|
||||||
|
-mnesia dir '"/tmp/ggs"' \
|
||||||
|
-boot start_sasl \
|
||||||
|
-pa erlang_js/ebin/ \
|
||||||
|
-pa ebin \
|
||||||
|
-pa src \
|
||||||
|
-s start_ggs
|
||||||
|
|
||||||
|
|
Reference in a new issue