Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: adb0ecff8beddb2a5ce32d67aa089af687a40eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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