1 Star 0 Fork 2

宿叶露/asciinema-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mix.exs 2.64 KB
一键复制 编辑 原始数据 按行查看 历史
Marcin Kulik 提交于 2021-05-08 18:39 . Telemetry
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/suyelu/asciinema-server.git
[email protected]:suyelu/asciinema-server.git
suyelu
asciinema-server
asciinema-server
develop

搜索帮助