Skip to content

Commit

Permalink
Merge pull request #1 from petrkozorezov/deps_cut
Browse files Browse the repository at this point in the history
Deps cut
  • Loading branch information
madtrick committed Sep 10, 2012
2 parents 3ca8b9a + 83b114e commit cc28b97
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
12 changes: 10 additions & 2 deletions Rakefile
Expand Up @@ -10,12 +10,20 @@ task :shell do
sh "erl -pa ebin deps/*/ebin"
end

task :getdeps do
sh "rebar get-deps"
end

task :gettestdeps do
sh "rebar -C rebar.tests.config get-deps"
end

task :features do
sh "rebar compile run-features path=test/acceptance skip_deps=true"
sh "rebar -C rebar.tests.config compile run-features path=test/acceptance skip_deps=true"
end

task :spec do
sh "rebar compile && ERL_LIBS='deps/' ./espec test/spec/"
sh "rebar -C rebar.tests.config compile && ERL_LIBS='deps/' ./espec test/spec/"
end

task :default => :build
6 changes: 0 additions & 6 deletions rebar.config
@@ -1,6 +0,0 @@
{deps, [
{espec, ".*", {git, "https://github.com/lucaspiller/espec.git", {branch, "master"}}},
{hamcrest, ".*", {git, "https://github.com/hyperthunk/hamcrest-erlang.git", {branch, master}}},
{meck, ".*", {git, "https://github.com/eproxus/meck.git", {branch, master}}}
]}.

6 changes: 6 additions & 0 deletions rebar.tests.config
@@ -0,0 +1,6 @@
{deps, [
{espec, ".*", {git, "https://github.com/lucaspiller/espec.git", {branch, "master"}}},
{hamcrest, ".*", {git, "https://github.com/hyperthunk/hamcrest-erlang.git", {branch, master}}},
{meck, ".*", {git, "https://github.com/eproxus/meck.git", {branch, master}}}
]}.

0 comments on commit cc28b97

Please sign in to comment.