File tree 1 file changed +16
-5
lines changed
1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ defmodule Zencoder.Mixfile do
6
6
version: "0.0.1" ,
7
7
elixir: "~> 0.14.3" ,
8
8
test_coverage: [ tool: ExCoveralls ] ,
9
- deps: deps ]
9
+ deps: deps ( Mix . env ) ]
10
10
end
11
11
12
12
# Configuration for the OTP application
@@ -26,14 +26,25 @@ defmodule Zencoder.Mixfile do
26
26
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1"}
27
27
#
28
28
# Type `mix help deps` for more examples and options
29
- defp deps do
29
+ def deps ( :dev ) do
30
+ deps ( :prod )
31
+ end
32
+
33
+ def deps ( :test ) do
34
+ deps ( :prod ) ++
30
35
[
31
- { :httpotion , "~> 0.2.4" } ,
32
- { :ibrowse , github: "cmullaparthi/ibrowse" , tag: "v4.1.0" } ,
33
- { :jazz , "~> 0.1.2" } ,
34
36
{ :exvcr , "~> 0.1.7" } ,
35
37
{ :excoveralls , "~> 0.2.4" } ,
36
38
{ :meck , "0.8.2" , github: "eproxus/meck" }
37
39
]
38
40
end
41
+
42
+ def deps ( :prod ) do
43
+ [
44
+ { :httpotion , "~> 0.2.4" } ,
45
+ { :ibrowse , github: "cmullaparthi/ibrowse" , tag: "v4.1.0" } ,
46
+ { :jazz , "~> 0.1.2" } ,
47
+ ]
48
+ end
49
+
39
50
end
You can’t perform that action at this time.
0 commit comments