forked from lpil/mix-test.watch
/
mix.exs
39 lines (35 loc) 路 953 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
38
39
defmodule MixTestWatch.Mixfile do
use Mix.Project
@version "0.9.0"
def project do
[
app: :mix_test_watch,
version: @version,
elixir: "~> 1.0",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "mix test.watch",
description: "Automatically run tests when files change",
package: [
maintainers: ["Louis Pilfold"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/lpil/mix-test.watch"},
files: ~w(LICENCE README.md lib mix.exs)
]
]
end
def application do
[mod: {MixTestWatch, []}, applications: [:file_system]]
end
defp deps do
# File system event watcher
[
{:file_system, "~> 0.2.1 or ~> 0.3"},
# App env state test helper
{:temporary_env, "~> 2.0", only: :test},
# Documentation generator
{:ex_doc, ">= 0.12.0", only: :dev}
]
end
end