-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathmix.exs
More file actions
37 lines (33 loc) · 772 Bytes
/
mix.exs
File metadata and controls
37 lines (33 loc) · 772 Bytes
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 Calculator.MixProject do
use Mix.Project
def project do
[
app: :calculator,
version: "0.1.0",
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
deps: deps(),
deps_path: "../deps",
lockfile: "../mix.lock",
# Thrift configuration
compilers: [:thrift | Mix.compilers()],
thrift: [
files: Path.wildcard("thrift/*.thrift"),
output_path: "lib/"
]
]
end
def application do
[
extra_applications: [:logger],
mod: {Calculator.Application, []}
]
end
defp deps do
[
# Note: you will want to replace the next line to get elixir-thrift from either
# Hex or GitHub in your own project.
{:thrift, path: ".."}
]
end
end