-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
51 lines (46 loc) · 1.47 KB
/
mix.exs
File metadata and controls
51 lines (46 loc) · 1.47 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
defmodule ReflaxeElixir.MixProject do
use Mix.Project
def project do
[
app: :reflaxe_elixir,
version: "0.2.1",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
test_paths: ["test/exunit"],
deps: deps(),
package: package(),
description: description(),
source_url: "https://github.com/fullofcaffeine/reflaxe.elixir"
]
end
def application do
[
# FileSystem is intentionally NOT in extra_applications - it's loaded on-demand
# This keeps production deployments lightweight since file watching is only needed in dev
# HaxeServer uses :crypto for deterministic cookie/cache keys even outside tests.
extra_applications: [:logger, :jason, :crypto]
]
end
defp deps do
[
{:jason, "~> 1.4"},
{:ex_doc, "~> 0.32", only: :dev, runtime: false},
# FileSystem is optional - only needed for dev file watching functionality
# HaxeWatcher checks at runtime if available and provides helpful messages if not
{:file_system, "~> 1.1", only: :dev}
]
end
defp description do
"""
A Haxe compilation target for Elixir/BEAM enabling gradual typing in Phoenix applications
with compile-time type-safe Ecto queries and HXX→HEEx template transformation.
"""
end
defp package do
[
licenses: ["GPL-3.0"],
links: %{"GitHub" => "https://github.com/fullofcaffeine/reflaxe.elixir"},
files: ~w(lib mix.exs README* LICENSE*)
]
end
end