Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Furlex.Mixfile do
use Mix.Project
def project do
[
app: :furlex,
version: "0.4.2",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
name: "Furlex",
source_url: "https://github.com/claytongentry/furlex",
docs: [
main: "Furlex",
extras: ~w(README.md CHANGELOG.md)
]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[
mod: {Furlex, []},
extra_applications: [:httpoison, :logger]
]
end
defp deps do
[
{:floki, "~> 0.17.0"},
{:httpoison, "~> 1.5"},
{:jason, "~> 1.0", optional: true},
{:plug_cowboy, "~> 1.0"},
{:benchee, "~> 0.13", only: :dev},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:bypass, "~> 0.8", only: :test},
]
end
defp description do
"""
Furlex is a structured data extraction tool written in Elixir.
It currently supports unfurling oEmbed, Twitter Card, Facebook Open Graph, JSON-LD
and plain ole' HTML `<meta />` data out of any url you supply.
"""
end
defp package do
[
name: :furlex,
files: ~w(doc lib mix.exs README.md LICENSE.md CHANGELOG.md),
maintainers: ["Clayton Gentry"],
licenses: ["Apache 2.0"],
links: %{
"Github" => "http://github.com/claytongentry/furlex",
"Docs" => "http://hexdocs.pm/furlex",
}
]
end
end