forked from AgilionApps/remix
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
51 lines (45 loc) · 1.43 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
45
46
47
48
49
50
51
defmodule Remix.Mixfile do
use Mix.Project
def project do
[
app: :remixed_remix,
version: "2.0.2",
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
name: "RemixedRemix",
source_url: "https://github.com/probably-not/remix",
description: description(),
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
dialyzer: [plt_add_deps: [:project], plt_add_apps: [:mix, :ex_unit]]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[extra_applications: [:logger], mod: {RemixedRemix.Application, []}]
end
# Run "mix help deps" to learn about dependencies.
defp deps, do: []
defp package do
[
description: description(),
# These are the default files included in the package
files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
licenses: ["MIT"],
maintainers: ["Coby Benveniste"],
links: %{
"GitHub" => "https://github.com/probably-not/remix"
}
]
end
defp description do
"""
A fork of the original remix package which fixes several errors from the old version, which hasn't been updated since 2016.
Original Description: Recompiles mix projects on any change to the lib directory.
"""
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end