Current section
3 Versions
Jump to
Current section
3 Versions
Compare versions
4
files changed
+9
additions
-3
deletions
| @@ -3,6 +3,11 @@ ExUnitEmacs | |
| 3 3 | |
| 4 4 | ExUnit + Emacs integration. |
| 5 5 | |
| 6 | + ### Emacs Setup |
| 7 | + |
| 8 | + You must be running the Emacs server for this to be able to drive the editor. To |
| 9 | + start the server, type `M-x server-start` in Emacs. |
| 10 | + |
| 6 11 | ## Formatter |
| 7 12 | |
| 8 13 | Currently the only thing this offers is a simple integration that will |
| @@ -2,10 +2,11 @@ | |
| 2 2 | {<<"build_tools">>,[<<"mix">>]}. |
| 3 3 | {<<"contributors">>,[<<"Bruce Williams">>]}. |
| 4 4 | {<<"description">>,<<"Emacs integration for ExUnit">>}. |
| 5 | + {<<"elixir">>,<<"~> 0.15.1">>}. |
| 5 6 | {<<"files">>, |
| 6 7 | [<<"lib/ex_unit_emacs.ex">>,<<"lib/ex_unit_emacs/formatter.ex">>, |
| 7 8 | <<"mix.exs">>,<<"README.md">>]}. |
| 8 9 | {<<"licenses">>,[<<"MIT">>]}. |
| 9 10 | {<<"links">>,#{<<"GitHub">> => <<"https://github.com/bruce/ex_unit_emacs">>}}. |
| 10 11 | {<<"requirements">>,#{}}. |
| 11 | - {<<"version">>,<<"0.1.1">>}. |
| 12 | + {<<"version">>,<<"0.1.2">>}. |
| @@ -44,7 +44,7 @@ defmodule ExUnitEmacs.Formatter do | |
| 44 44 | |
| 45 45 | defp notify(config, [bg, fg]) do |
| 46 46 | if config.client do |
| 47 | - System.cmd(config.client, ["--eval", "(set-face-attribute 'mode-line nil :background \"#{bg}\" :foreground \"#{fg}\")"]) |
| 47 | + :os.cmd(~s{#{config.client} --eval "(set-face-attribute 'mode-line nil :background \\"#{bg}\\" :foreground \\"#{fg}\\")" 2&>1 /dev/null} |> String.to_char_list) |
| 48 48 | end |
| 49 49 | end |
| @@ -3,7 +3,7 @@ defmodule ExUnitEmacs.Mixfile do | |
| 3 3 | |
| 4 4 | def project do |
| 5 5 | [app: :ex_unit_emacs, |
| 6 | - version: "0.1.1", |
| 6 | + version: "0.1.2", |
| 7 7 | elixir: "~> 0.15.1", |
| 8 8 | package: package, |
| 9 9 | deps: deps] |