index : pandoc | |
Hex package with a file-watcher and Mix task for using Pandoc to convert Markdown files to HTML. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2025-01-09 11:25:52 -0800 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2025-01-09 11:25:52 -0800 |
commit | b8d8b3dbd88ab42fc8f050af0d18fc4dd66d7ffe (patch) | |
tree | 6923dbea66bbdb08e236dd9379399057254fec20 /mix.exs | |
parent | 3d1ea3183c4de1690533cc01d1fa843bcea2e57e (diff) |
Handle installing Pandocv0.3.0
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,7 +1,7 @@ defmodule Pandoc.MixProject do use Mix.Project - @version "0.2.0" + @version "0.3.0" @source_url "https://webdevcat.me/git/pandoc/" def project do @@ -10,22 +10,28 @@ defmodule Pandoc.MixProject do version: @version, elixir: "~> 1.14", deps: deps(), - description: "File-watcher and Mix task to convert Markdown files to HTML", + 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: @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], - mod: {Pandoc.Application, []} + extra_applications: [:logger, inets: :optional, ssl: :optional], + mod: {Pandoc.Application, []}, + env: [default: []] ] end @@ -33,6 +39,7 @@ defmodule Pandoc.MixProject do defp deps do [ {:file_system, "~> 1.0"}, + {:castore, ">= 0.0.0"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end |