47 lines
1.1 KiB
Elixir
47 lines
1.1 KiB
Elixir
defmodule Pandoc.MixProject do
|
|
use Mix.Project
|
|
|
|
@version "0.3.1"
|
|
@source_url "https://webdevcat.me/git/pandoc/"
|
|
|
|
def project do
|
|
[
|
|
app: :pandoc,
|
|
version: @version,
|
|
elixir: "~> 1.14",
|
|
deps: deps(),
|
|
description: "File system watcher and Mix tasks for installing and invoking pandoc",
|
|
package: [
|
|
links: %{
|
|
"pandoc" => "https://pandoc.org/"
|
|
},
|
|
licenses: ["MIT"]
|
|
],
|
|
source_url: @source_url,
|
|
source_url_pattern: "#{@source_url}tree/%{path}#n%{line}",
|
|
docs: [
|
|
main: "Pandoc"
|
|
],
|
|
aliases: [test: ["pandoc.install --if-missing", "test"]]
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger, inets: :optional, ssl: :optional],
|
|
mod: {Pandoc.Application, []},
|
|
env: [default: []]
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
[
|
|
{:file_system, "~> 1.0"},
|
|
{:castore, ">= 0.0.0"},
|
|
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
|
|
]
|
|
end
|
|
end
|