Skip to content
Browse files

Switch to rebar for the build system

  • Loading branch information...
1 parent 543f6a7 commit 13f2993ceee691307324cf88985ca33a42906b0d @Vagabond committed Feb 8, 2011
View
7 Makefile
@@ -0,0 +1,7 @@
+compile:
+ @./rebar compile
+
+clean:
+ @./rebar clean
+
+.PHONY: compile clean
View
6 README
@@ -18,7 +18,9 @@ INSTALL
$ git clone git@github.com:mojombo/egitd.git
$ cd egitd
-$ rake
+$ make
+
+You can also build by using ./rebar compile, which the Makefile invokes.
RUN
@@ -32,4 +34,4 @@ CONF FILE
The config file specifies the mapping between specified repo name and file location.
-github.com (.+)/(.+) "/data/git/repositories/" ++ Match1 ++ "/" ++ Match2.
+github.com (.+)/(.+) "/data/git/repositories/" ++ Match1 ++ "/" ++ Match2.
View
13 Rakefile
@@ -1,13 +0,0 @@
-require 'rubygems'
-require 'rake'
-
-ERLC_FLAGS = "+debug_info -W2 -o ../ebin"
-
-task :default do
- cd "elibs"
- sh "erlc #{ERLC_FLAGS} *.erl"
-end
-
-task :console do
- sh "erl +Bc +K true -smp enable -pz ./ebin/ -sname local_console_#{$$} -kernel start_boot_server true"
-end
View
BIN rebar
Binary file not shown.
View
0 elibs/conf.erl → src/conf.erl
File renamed without changes.
View
2 ebin/egitd.app → src/egitd.app.src
@@ -1,7 +1,7 @@
{application, egitd,
[{description, "The Erlang git-daemon"},
{vsn, "0.0.0"},
- {modules, [egitd_app, egitd_sup, server]},
+ {modules, []},
{registered, [server]},
{applications, [kernel, stdlib]},
{mod, {egitd_app, []}},
View
0 elibs/egitd.erl → src/egitd.erl
File renamed without changes.
View
0 elibs/egitd_app.erl → src/egitd_app.erl
File renamed without changes.
View
0 elibs/egitd_sup.erl → src/egitd_sup.erl
File renamed without changes.
View
0 elibs/git_client.erl → src/git_client.erl
File renamed without changes.
View
0 elibs/log.erl → src/log.erl
File renamed without changes.
View
0 elibs/md5.erl → src/md5.erl
File renamed without changes.
View
0 elibs/server.erl → src/server.erl
File renamed without changes.

0 comments on commit 13f2993

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