# ~/.tmuxinator/exercism.yml

name: exercism
# Eg: mux exercism ruby hello-world => exercism/ruby/hello-world
root: ~/exercism/<%= @args[0] %>/<%= @args[1] %>

<% if @args[0] == "elm" %>
on_project_first_start: npm install
<% end %>

pre_window:
  # NOTE: uncomment if I find that I need to use language versions
  # other than the latest.
  # <% if @args[0] == "ruby" %>
  # - asdf local ruby 2.5.0
  # <% elsif @args[0] == "elixir" %>
  # - asdf local elixir 1.5.3
  # - asdf local erlang 20.2
  # <% elsif @args[0] == "elm" %>
  # - asdf local elm 0.18.0
  # <% end %>

startup_window: editor

windows:
  - editor: vim
  <% if @args[0] == "ruby" %>
  - tests:
  - console: irb
  <% elsif @args[0] == "elixir" %>
  - tests:
  - console: iex
  <% elsif @args[0] == "elm" %>
  - tests: npm run watch
  - console: elm repl
  <% end %>

# ~/.tmuxinator/exercism.yml

name: exercism
# Eg: mux exercism ruby hello-world => exercism/ruby/hello-world
root: ~/exercism/<%= @args[0] %>/<%= @args[1] %>

on_project_first_start:
<% if @args[0] == "elm" %>
  - npm install
<% end %>

pre_window:
  # NOTE: uncomment if I find that I need to use language versions
  # other than the latest.
  # <% if @args[0] == "ruby" %>
  # - asdf local ruby 2.5.0
  # <% elsif @args[0] == "elixir" %>
  # - asdf local elixir 1.5.3
  # - asdf local erlang 20.2
  # <% elsif @args[0] == "elm" %>
  # - asdf local elm 0.18.0
  # <% end %>

startup_window: editor

windows:
  - editor: vim
  <% if @args[0] == "ruby" %>
  - tests: guard --guardfile ~/exercism/ruby/Guardfile
  - console: irb
  <% elsif @args[0] == "elixir" %>
  - tests:
  - console: iex
  <% elsif @args[0] == "elm" %>
  - tests: npm run watch
  - console: elm repl
  <% end %>

Fix Guard statement for Exercism tmuxinator config file
Fix Guard statement for Exercism tmuxinator config file
