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> | 2024-12-09 21:48:20 -0800 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-12-09 21:48:20 -0800 |
commit | 9d9a9bb13e99332a1fbe65d807b83bd1824eda5f (patch) | |
tree | ed9df305a23b21c745b38874f811bbd8f969fa33 | |
parent | c9cc0ed856cb5066751613a23ffea6cff0ec960b (diff) |
Remove some comments
-rw-r--r-- | lib/pandoc.ex | 9 | ||||
-rw-r--r-- | lib/pandoc/watcher.ex | 1 | ||||
-rw-r--r-- | mix.exs | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/lib/pandoc.ex b/lib/pandoc.ex index ec5ce70..57606da 100644 --- a/lib/pandoc.ex +++ b/lib/pandoc.ex @@ -4,11 +4,6 @@ defmodule Pandoc do """ def run(profile, ["--watch" | dirs]) do - IO.puts(""" - - Pandoc watcher starting, env: #{Application.get_env(:pandoc, profile) |> inspect(pretty: true)} - """) - ref = __MODULE__.Supervisor |> Supervisor.start_child( @@ -51,10 +46,6 @@ defmodule Pandoc do ) end) - IO.puts(""" - System command running: #{inspect(Enum.join(["pandoc" | args ++ extra_args], " "))} - """) - "pandoc" |> System.cmd(args ++ extra_args, opts) |> elem(1) end end diff --git a/lib/pandoc/watcher.ex b/lib/pandoc/watcher.ex index e5439f6..c67ae26 100644 --- a/lib/pandoc/watcher.ex +++ b/lib/pandoc/watcher.ex @@ -23,7 +23,6 @@ defmodule Pandoc.Watcher do end def handle_info({:file_event, watcher_pid, :stop}, %{watcher_pid: watcher_pid} = state) do - # Your own logic when monitor stop {:noreply, state} end end @@ -23,8 +23,6 @@ defmodule Pandoc.MixProject do # Run "mix help deps" to learn about dependencies. defp deps do [ - # {:dep_from_hexpm, "~> 0.3.0"}, - # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} {:file_system, "~> 1.0"} ] end |