forked from elixirscript/elixirscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
55 lines (48 loc) · 1.26 KB
/
mix.exs
File metadata and controls
55 lines (48 loc) · 1.26 KB
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
52
53
54
55
defmodule ElixirScript.Mixfile do
use Mix.Project
def project do
[
app: :elixir_script,
version: "0.5.0-dev",
elixir: "~> 1.0",
compilers: Mix.compilers,
escript: escript_config,
deps: deps,
description: description,
package: package,
source_url: "https://github.com/bryanjos/ex_to_js",
test_coverage: [tool: ExCoveralls]
]
end
def application do
[applications: [:logger, :poison]]
end
defp deps do
[
{ :poison, "~> 1.4" },
{ :inflex, "~> 1.0" },
{ :estree, github: "bryanjos/elixir-estree"},
{ :excoveralls, only: [:dev, :test] },
{ :shouldi, github: "batate/shouldi", only: :test },
{ :mix_test_watch, github: "lpil/mix-test.watch" }
]
end
defp escript_config do
[main_module: ElixirScript.CLI, name: "ex2js"]
end
defp description do
"""
converts Elixir to JavaScript
"""
end
defp package do
[ # These are the default files included in the package
files: ["lib", "mix.exs", "README*", "readme*", "LICENSE*", "license*", "CHANGELOG*", "escodegen"],
contributors: ["Bryan Joseph"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/bryanjos/ex_to_js"
}
]
end
end