-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
44 lines (39 loc) · 1.16 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
defmodule SfcGenLive.MixProject do
use Mix.Project
@version "0.1.5"
def project do
[
app: :sfc_gen_live,
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "The equivalent of `phx.gen.live` for Surface & Phoenix 1.5",
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:phoenix, git: "https://github.com/phoenixframework/phoenix.git", override: true},
{:surface, "~> 0.3.0"},
# {:phx_new, "~> 1.5.8", only: [:dev, :test]},
# RADAR: I don't think there is a way to specify this as a git dependency, since phx_new is a directory in phoenixframework/phoenix
{:phx_new, path: "~/github/phoenix/installer", only: [:dev, :test]},
{:ex_doc, "~> 0.20", only: :docs}
]
end
defp package do
[
maintainers: ["Michael Johnston"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/lastobelus/sfc_gen_live"}
]
end
end