Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pandoc.ex9
-rw-r--r--lib/pandoc/watcher.ex1
-rw-r--r--mix.exs2
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
diff --git a/mix.exs b/mix.exs
index e677a09..cdbe797 100644
--- a/mix.exs
+++ b/mix.exs
@@ -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