Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2025-01-09 11:25:52 -0800
committerCatalin Mititiuc <webdevcat@proton.me>2025-01-09 11:25:52 -0800
commitb8d8b3dbd88ab42fc8f050af0d18fc4dd66d7ffe (patch)
tree6923dbea66bbdb08e236dd9379399057254fec20 /mix.exs
parent3d1ea3183c4de1690533cc01d1fa843bcea2e57e (diff)
Handle installing Pandocv0.3.0
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs17
1 files changed, 12 insertions, 5 deletions
diff --git a/mix.exs b/mix.exs
index 7a0bb94..ab539d3 100644
--- a/mix.exs
+++ b/mix.exs
@@ -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