summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Anderson <brad@cloudant.com>2010-08-20 10:30:44 -0400
committerBrad Anderson <brad@cloudant.com>2010-08-20 10:30:44 -0400
commit01754a65eeca546b88e3e3792af933ba81313f5c (patch)
tree0f0af24aeb0386491ac0ac1277308242ac65bda7
parent906d543b0e2cb16421702ebe8b878b21415c16a0 (diff)
add couchjs stuffs to makefile targets
-rw-r--r--.rebar/templates/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rebar/templates/Makefile b/.rebar/templates/Makefile
index bdc5625d..d8dbe7bd 100644
--- a/.rebar/templates/Makefile
+++ b/.rebar/templates/Makefile
@@ -2,6 +2,7 @@ all: compile
compile:
@ERL_LIBS="`pwd`/apps" ./rebar compile
+ scons
clean:
@./rebar clean
@@ -16,6 +17,9 @@ compilenative:
dist: compile
@rm -rf rel/dbcore
@./rebar generate
+ @mkdir -p rel/dbcore/var/share/server
+ @cp build/main.js rel/dbcore/var/share/server/
+ @cp build/couchjs rel/dbcore/bin/
distclean: clean
@rm -rf rel/dbcore