代码拉取完成,页面将自动刷新
defmodule Asciinema.MixProject do
use Mix.Project
def project do
[
app: :asciinema,
version: "0.0.1",
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext, :rustler] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
releases: [
asciinema: [
config_providers: [
{Config.Reader, {:system, "RELEASE_ROOT", "/etc/custom.exs"}}
]
]
],
rustler_crates: [vt_nif: []]
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {Asciinema.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:bamboo, "~> 1.2"},
{:bamboo_smtp, "~> 1.6"},
{:briefly, "~> 0.3"},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:earmark, "~> 1.4"},
{:ecto_sql, "~> 3.0"},
{:ex_aws, "~> 2.2"},
{:ex_aws_s3, "~> 2.1"},
{:ex_machina, "~> 2.4", only: :test},
{:gettext, "~> 0.18"},
{:html_sanitize_ex, "~> 1.4"},
{:inflex, "~> 2.0"},
{:jason, "~> 1.2"},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:oban, "~> 2.6"},
# override for scrivener_html
{:phoenix, "~> 1.5.8", override: true},
{:phoenix_ecto, "~> 4.1"},
{:phoenix_html, "~> 2.14"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_markdown, "~> 1.0"},
{:phoenix_pubsub, "~> 2.0"},
{:plug_cowboy, "~> 2.3"},
{:poolboy, "~> 1.5"},
{:postgrex, ">= 0.0.0"},
{:rustler, "~> 0.21.0"},
{:scrivener_ecto, "~> 2.4"},
{:scrivener_html, "~> 1.8"},
{:sentry, "~> 7.2"},
{:telemetry_metrics, "~> 0.6.0"},
{:telemetry_metrics_prometheus, "~> 1.0.0"},
{:telemetry_poller, "~> 0.5.1"},
{:timex, "~> 3.7"}
]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to create, migrate and run the seeds file at once:
#
# $ mix ecto.setup
#
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。