add release params

pull/2255/head
Ayrat Badykov 5 years ago
parent 5f424c0113
commit 2af8cd8f25
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 15
      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

Loading…
Cancel
Save