forked from lpil/mix-test.watch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
36 lines (32 loc) · 941 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
defmodule MixTestWatch.Mixfile do
use Mix.Project
@version "0.4.1"
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: [:fs]]
end
defp deps do
[# File system event watcher
{:fs, "~> 0.9.1"},
# Style linter
{:dogma, "~> 0.1", only: ~w(dev test)a},
# App env state test helper
{:temporary_env, "~> 1.0", only: :test},
# Documentation generator
{:ex_doc, ">= 0.12.0", only: :dev}]
end
end