From 5e9c9a995bd88d8b787b6cf46bbacfea55d9e881 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Mon, 9 Sep 2019 10:53:03 +0200 Subject: [PATCH 1/2] mix: Don't depend on eqc_ex in production builds Fixes #7 --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index ddc3e78..a6a9624 100644 --- a/mix.exs +++ b/mix.exs @@ -37,7 +37,7 @@ defmodule Bencode.Mixfile do end defp deps do - [{:eqc_ex, "~> 1.3.0"}, + [{:eqc_ex, "~> 1.3.0", only: [:dev, :test]}, {:credo, "~> 0.6.1", only: [:dev, :test]}] end end From 46633b2c5b2713e8e50b6a24b74e637aaa4539c0 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Mon, 9 Sep 2019 10:57:49 +0200 Subject: [PATCH 2/2] mix: Bump eqc_ex dependency to ~> 1.3.1 1.3.0 contained errors in their mix.exs, which results in no eqc subcommands being available through mix. These issues were solved in 1.3.1. Reference: https://github.com/Quviq/eqc_ex/commit/cd37425ad8d69d9cbd4153083aa52ddbdeaf1cab --- mix.exs | 2 +- mix.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index a6a9624..0c852b1 100644 --- a/mix.exs +++ b/mix.exs @@ -37,7 +37,7 @@ defmodule Bencode.Mixfile do end defp deps do - [{:eqc_ex, "~> 1.3.0", only: [:dev, :test]}, + [{:eqc_ex, "~> 1.3.1", only: [:dev, :test]}, {:credo, "~> 0.6.1", only: [:dev, :test]}] end end diff --git a/mix.lock b/mix.lock index 292a71c..4c86361 100644 --- a/mix.lock +++ b/mix.lock @@ -1,3 +1,3 @@ %{"bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], []}, "credo": {:hex, :credo, "0.6.1", "a941e2591bd2bd2055dc92b810c174650b40b8290459c89a835af9d59ac4a5f8", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, optional: false]}]}, - "eqc_ex": {:hex, :eqc_ex, "1.3.0", "04dc4481319d2e2ff1ce136507078cdbaf5a124d6a05ce32d5d642db28b053e4", [:mix], []}} + "eqc_ex": {:hex, :eqc_ex, "1.3.2", "a2a01442057db92de202cca9bd81e6581b50401af741c1b0cefc99d91d73fcfc", [:mix], []}}