Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from petrkozorezov/deps_cut

Deps cut
  • Loading branch information...
commit cc28b9761f8636d94703d8579f8b6a750daf6587 2 parents 3ca8b9a + 83b114e
@madtrick authored
Showing with 16 additions and 8 deletions.
  1. +10 −2 Rakefile
  2. +0 −6 rebar.config
  3. +6 −0 rebar.tests.config
View
12 Rakefile
@@ -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
View
6 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}}}
-]}.
-
View
6 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}}}
+]}.
+
Please sign in to comment.
Something went wrong with that request. Please try again.