Packages

Write dispatcher which automatically (re)opens file for writing on the basis of pattern and current time

Current section

Files

Jump to

mix.exs

defmodule RotatingFileWriter.Mixfile do
use Mix.Project
def project do
[
app: :rotating_file_writer,
version: "0.1.0",
elixir: "~> 1.3",
description: description,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps,
package: package
]
end
defp description do
"Write dispatcher which automatically (re)opens file for writing on the basis of pattern and current time"
end
def application do
[applications: [:logger, :timex]]
end
defp deps do
[
{:excoveralls, "~> 0.5", only: :test},
{:timex, "~> 3.0"}
]
end
defp package do
[
name: :rotating_file_writer,
files: ["lib", "mix.exs", "README*", "LICENSE"],
maintainers: ["Ilya Averyanov"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/savonarola/rotating_file_writer"
}
]
end
end