Linkbot titles now check the "meta" tags for either "og:title" or "title" attributes. This is usually a more accurate/correct title than using the "title" tag, but this is checked as a last resort. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
40 lines
932 B
Elixir
40 lines
932 B
Elixir
defmodule Omnibot.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :omnibot,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.10",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
aliases: aliases(),
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger],
|
|
mod: {Omnibot, []}
|
|
]
|
|
end
|
|
|
|
defp aliases do
|
|
[
|
|
c: ["clean", "compile --warnings-as-errors"],
|
|
test: ["test --no-start"],
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
# TODO : figure out how to make contrib modules optional (umbrella project?) and enable specific requirements
|
|
[
|
|
{:tesla, "~> 1.3.0"}, # Used by Omnibot.Contrib.Linkbot
|
|
{:meeseeks, "~> 0.15.1"}, # Used by Omnibot.Contrib.Linkbot
|
|
{:sqlitex, "~> 1.7"}, # Used by Omnibot.Contrib.Wordbot
|
|
]
|
|
end
|
|
end
|