diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-23 20:36:45 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-23 20:36:45 -0400 |
commit | a70b91c1ba2101b8d8bb9141af13c50b362d6ba5 (patch) | |
tree | 5c8ea35ab8f3c5c5ede26f80b9ba11c5bb48a020 /.rebar/templates/Makefile | |
parent | 66480aac94e60131c1b6f16fdc5dde04dc6f2bc4 (diff) |
some cleanup of the Makefile template
Diffstat (limited to '.rebar/templates/Makefile')
-rw-r--r-- | .rebar/templates/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.rebar/templates/Makefile b/.rebar/templates/Makefile index 49006738..dacd2012 100644 --- a/.rebar/templates/Makefile +++ b/.rebar/templates/Makefile @@ -1,20 +1,19 @@ all: compile compile: - @ERL_LIBS="`pwd`/apps" ./rebar compile @echo "==> couchjs (compile)" @cd couchjs && python scons/scons.py + @./rebar compile clean: + @echo "==> couchjs (clean)" + @cd couchjs && python scons/scons.py --clean @./rebar clean -check: compile - @ERL_LIBS="`pwd`/apps" ./rebar eunit +check: + @./rebar eunit @ERL_LIBS="`pwd`/apps" prove apps/couch/test/etap/*.t -compilenative: - @./rebar compile erl_opts=native - dist: compile @rm -rf rel/dbcore @./rebar generate @@ -25,7 +24,6 @@ dist: compile distclean: clean @rm -rf rel/dbcore @rm -f rel/overlay/etc/default.ini - @rm -f rel/overlay/erts-vsn/bin/erl_call install: dist @mkdir -p {{prefix}}/dbcore/ |