Skip to content

Instantly share code, notes, and snippets.

@ijunaid8989
Created December 22, 2020 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijunaid8989/598658020d1f72329f797d1f666317bc to your computer and use it in GitHub Desktop.
Save ijunaid8989/598658020d1f72329f797d1f666317bc to your computer and use it in GitHub Desktop.
mix.exs
defmodule EvercamMedia.Mixfile do
use Mix.Project
def project do
[
app: :evercam_media,
version: "1.0.#{DateTime.to_unix(DateTime.utc_now())}",
elixir: "~> 1.11.1",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
compilers: [:phoenix] ++ Mix.compilers(),
aliases: aliases(),
deps: deps()
]
end
defp aliases do
[
clean: ["clean"]
]
end
def application do
[mod: {EvercamMedia, []}, extra_applications: [:runtime_tools, :os_mon]]
end
# Specifies which paths to compile per environment
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:bcrypt_elixir, "~> 2.0"},
{:con_cache, "~> 0.14.0"},
{:cors_plug, "~> 2.0"},
{:plug_cowboy, "~> 2.4"},
{:credo, "~> 1.5.1", only: :dev},
{:dotenv, "~> 3.0.0", only: [:dev, :test]},
{:ecto, "~> 3.5"},
{:ecto_sql, "~> 3.5"},
{:distillery, github: "ijunaid8989/distillery"},
{:finch, github: "ijunaid8989/finch", branch: "main"},
{:jsx, "~> 2.8"},
{:swoosh, "~> 1.0"},
{:phoenix_swoosh, "~> 0.2"},
{:phoenix, "~> 1.5"},
{:phoenix_live_dashboard,
github: "phoenixframework/phoenix_live_dashboard", branch: "master"},
{:ecto_psql_extras, "~> 0.2"},
{:telemetry_poller, "~> 0.5.0"},
{:telemetry_metrics, "~> 0.6.0"},
{:phoenix_ecto, "~> 4.2.0"},
{:phoenix_html, "~> 2.14.0"},
{:porcelain, "~> 2.0.3"},
{:postgrex, "~> 0.15.1"},
{:parent, github: "sasa1977/parent", branch: "master"},
{:tzdata, "~> 1.0"},
{:uuid, "~> 1.1.7"},
{:relx, "~> 4.0"},
{:erlware_commons, "~> 1.3.0"},
{:cf, "~> 0.3.1"},
{:exvcr, "~> 0.12.1", only: :test},
{:meck, "~> 0.9.0"},
{:html_sanitize_ex, "~> 1.4.0"},
{:gen_stage, "~> 1.0"},
{:jason, "~> 1.1"},
{:ex_aws, "~> 2.1.6"},
{:ex_aws_s3, "~> 2.0"},
{:configparser_ex, "~> 4.0"},
{:sweet_xml, "~> 0.6"},
{:geoip, "~> 0.2"},
{:floki, "~> 0.29.0"},
{:poolboy, "~> 1.5.1"},
{:joken, "~> 2.0"},
{:export, "~> 0.1.0"},
{:sshex, "2.2.1"},
{:fastimage, "~> 1.0.0-rc4"},
{:ua_inspector, "~> 2.2.0"},
{:geo, "~> 3.0"},
{:geo_postgis, "~> 3.0"},
{:scrivener_ecto, "~> 2.0"}
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment