-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
37 lines (32 loc) · 863 Bytes
/
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
defmodule ReactOnElixir.Mixfile do
use Mix.Project
@version String.strip(File.read!("VERSION"))
def project do
[app: :react_on_elixir,
version: @version,
elixir: "~> 1.2",
description: "Server render react components from Elixir",
build_embedded: (Mix.env == :prod),
package: package,
start_permanent: (Mix.env == :prod),
deps: deps]
end
def application do
[ mod: {ReactOnElixir, []},
applications: [:logger, :poolboy, :elixir_v8]
]
end
defp deps do
[
{:poolboy, "~> 1.5"},
{:poison, "~> 1.5.2"},
{:elixir_v8, "~> 0.2.2"}
]
end
defp package do
[files: ~w(lib priv mix.exs README.md UNLICENSE VERSION),
maintainers: ["Gaurav Tiwari"],
licenses: ["Unlicense"],
links: %{"GitHub" => "https://github.com/gauravtiwari/react_on_elixir"}]
end
end