2019-08-31 23:02:41 +00:00
|
|
|
defmodule FeedParser.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :feed_parser,
|
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.9",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
2019-09-01 03:25:10 +00:00
|
|
|
deps: deps(),
|
|
|
|
|
|
|
|
# Docs
|
|
|
|
name: "FeedParser",
|
|
|
|
source_url: "https://git.shadowfacts.net/shadowfacts/feed_parser",
|
|
|
|
docs: [
|
|
|
|
main: "FeedParser",
|
|
|
|
source_url_pattern:
|
|
|
|
"https://git.shadowfacts.net/shadowfacts/feed_parser/src/branch/master/%{path}#L%{line}"
|
|
|
|
]
|
2019-08-31 23:02:41 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
|
|
|
extra_applications: [:logger]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
2019-09-01 03:25:10 +00:00
|
|
|
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
|
2019-08-31 23:02:41 +00:00
|
|
|
{:timex, "~> 3.6.1"},
|
|
|
|
{:poison, "~> 4.0.1"}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|