-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
34 lines (30 loc) · 786 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
defmodule TimeRegister.MixProject do
use Mix.Project
def project do
[
app: :time_register,
version: "1.0.0",
elixir: "~> 1.8",
escript: escript(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
applications: [:elixir_google_spreadsheets, :timex],
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:elixir_google_spreadsheets, "~> 0.1.11"},
{:timex, "~> 3.1"},
{:tzdata, "~> 0.1.8", override: true} # Use this version with escript build
]
end
def escript, do: [main_module: TimeRegister]
end