Sha256: e61fd5d7ed25d030bdd4c7cbc5b75e869b473cd15b05f99b5a86ad84b42ad293

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'bundler' do
  watch('Gemfile')
  # Uncomment next line if Gemfile contain `gemspec' command
  # watch(/^.+\.gemspec/)
end

guard 'coffeescript', :input => 'src', :output => '.', :bare => true
# Add files and commands to this file, like the example:
#   watch(%r{file/path}) { `command(s)` }
#
guard 'shell' do
  watch(/(.*).coffee/) { |m|
    puts '  Building tests component'
    puts `component build --name test --dev`

    puts '  Building development component'
    puts `component build --name development --dev`

    puts '  Building release component'
    puts `component build --name release`
  }

  watch(/component.json|lib\/observable/) { |m|
    puts '  Installing possible new components'
    puts `component install --dev`

    puts '  Building tests component'
    puts `component build --name test --dev`

    puts '  Building development component'
    puts `component build --name development --dev`

    puts '  Building release component'
    puts `component build --name release`
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ende-0.5.22 components/indefinido/indemma/master/Guardfile
ende-0.5.21 components/indefinido/indemma/master/Guardfile