2024-10-11 03:04:34 +00:00
|
|
|
defmodule ElixirRss.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :elixir_rss,
|
2024-10-21 02:49:48 +00:00
|
|
|
escript: escript_config(),
|
2024-10-11 03:04:34 +00:00
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.17",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
deps: deps()
|
|
|
|
]
|
|
|
|
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
|
|
|
|
[
|
2024-10-21 02:49:48 +00:00
|
|
|
{:httpoison, "~> 2.2.0"},
|
|
|
|
{:fast_rss, "~> 0.5.0"},
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp escript_config do
|
|
|
|
[
|
|
|
|
main_module: ElixirRss.CLI
|
2024-10-11 03:04:34 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|