Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

avoid deps when no tests needed

  • Loading branch information...
commit 7984acd6eb9415c753e08609d14c84ee01cf8ad5 1 parent 3ca8b9a
@petrkozorezov petrkozorezov authored
Showing with 8 additions and 8 deletions.
  1. +2 −2 Rakefile
  2. +0 −6 rebar.config
  3. +6 −0 rebar.tests.config
View
4 Rakefile
@@ -11,11 +11,11 @@ task :shell do
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.