Skip to content

Instantly share code, notes, and snippets.

@cromwellryan
Last active December 19, 2015 08:19
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cromwellryan/5924636 to your computer and use it in GitHub Desktop.
Save cromwellryan/5924636 to your computer and use it in GitHub Desktop.
Guardfile for elixirc
guard 'shell', :elixirc_bin => "/usr/local/elixirc" do
watch(/(.+\.ex$)/) { |m| `elixirc #{m[0]}` }
end
guard 'shell', :elixir_bin => "/usr/local/elixir" do
watch(/(.+\.exs$)/) { |m| `elixir #{m[0]}` }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment