From 2af8cd8f25eaae05c23db28c8a8fb3315a1fa19e Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 1 Jul 2019 16:58:22 +0300 Subject: [PATCH] add release params --- mix.exs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/mix.exs b/mix.exs index 0643a20376..c6c74689f9 100644 --- a/mix.exs +++ b/mix.exs @@ -6,6 +6,7 @@ defmodule BlockScout.Mixfile do def project do [ aliases: aliases(Mix.env()), + version: "2.0", apps_path: "apps", deps: deps(), dialyzer: [ @@ -23,7 +24,17 @@ defmodule BlockScout.Mixfile do dialyzer: :test ], start_permanent: Mix.env() == :prod, - test_coverage: [tool: ExCoveralls] + test_coverage: [tool: ExCoveralls], + releases: [ + blockscout: [ + applications: [ + block_scout_web: :permanent, + ethereum_jsonrpc: :permanent, + explorer: :permanent, + indexer: :permanent + ] + ] + ] ] end @@ -61,8 +72,6 @@ defmodule BlockScout.Mixfile do # and cannot be accessed from applications inside the apps folder defp deps do [ - # Release - {:distillery, "~> 2.0", runtime: false}, # Documentation {:ex_doc, "~> 0.19.0", only: [:dev]}, # Code coverage