     'exec:portallights_linux_gen', 'exec:portallights_linux_comp',
   ]
   @registerTask 'build-microflo-arduino', [
+    'exec:tablelights_arduino_gen', 'exec:tablelights_arduino_build',
     'exec:portallights_arduino_gen', 'exec:portallights_arduino_build',
   ]
   @registerTask 'run-microflo-linux', [

    '-hardware', path.join(options.arduino, 'hardware')
    '-tools', path.join(options.arduino, 'tools-builder'),
    '-tools ', path.join(options.arduino, 'hardware', 'tools')
    '-fqbn', options.board,
    options.sketch
  ]

fs = require 'fs'
path = require 'path'

arduino_build = (name, options) ->
  # Wrapper around the `arduino-builder` CLI tool setting up the neccesary paths
  defaults =
    board: 'arduino:avr:uno'
    sketch: "build/arduino/#{name}/#{name}.#{options.ext||'cpp'}"
    arduino: process.env.ARDUINO or process.env.HOME + '/arduino-1.8.1'
    'arm-none-eabi-gcc': '/home/jon/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1'

  for k,v of defaults
    options[k] = v if not options[k]?
