summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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