Skip to content

Commit

Permalink
added generic build_deps Raketask
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay committed Jul 9, 2008
1 parent af2ca9c commit 7486f40
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ERLC_TEST_FLAGS = "-pa ../deps/eunit/ebin -I ../deps/eunit/include -I .. -I ../e
ERLC_FLAGS = "+debug_info -W2 -I ../include -I ../include/yaws -o ../ebin"
FUZED_VERSION = "0.4.13"

task :prepare => [:build_eunit, :build_dist]
task :prepare => [:build_deps, :build_dist]

task :default do
cd "elibs"
Expand Down Expand Up @@ -52,6 +52,8 @@ task :docs do
sh %|cd doc && erl -noshell -s init stop -run edoc files #{files}|
end

task :build_deps => [:build_eunit]

task :build_eunit do
sh %[cd deps/eunit && make clean && make all]
end
end

0 comments on commit 7486f40

Please sign in to comment.