Packages

Elixir bindings for anydoc: convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF documents into clean GitHub-Flavored Markdown.

Current section

Files

Jump to
anydoc_ex mix.exs
Raw

mix.exs

defmodule Anydoc.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/kentaro/anydoc_ex"
def project do
[
app: :anydoc_ex,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "anydoc_ex",
source_url: @source_url,
docs: docs()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:rustler, "~> 0.38"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
defp description do
"Elixir bindings for anydoc: convert Word, PowerPoint, Excel, OpenDocument, " <>
"RTF, EPUB, CSV, and PDF documents into clean GitHub-Flavored Markdown."
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"anydoc" => "https://github.com/firecrawl/anydoc"
},
files: [
"lib",
"native/anydoc_nif/src",
"native/anydoc_nif/Cargo.toml",
"native/anydoc_nif/Cargo.lock",
"mix.exs",
"README.md",
"CHANGELOG.md",
"LICENSE"
]
]
end
defp docs do
[
main: "Anydoc",
source_ref: "v#{@version}",
extras: [
"README.md",
"CHANGELOG.md",
"LICENSE"
]
]
end
end