Sha256: 5aaf5190940f001fbebdcbe225e1d067cb2de99b8959ad057db58b46c918b6ac

Contents?: true

Size: 752 Bytes

Versions: 1

Compression:

Stored size: 752 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems' if RUBY_VERSION < '1.9'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'optparse'
require 'assetify'

opt = OptionParser.new do |o|
    o.banner = <<BANNER
Bugs Bunny - RabbitMQ Playground

Usage: #{File.basename($0)} command [args]

Commands:

      install        -     All assets
      update         -     Outdated assets
      check          -     Prints changes

Commands are matched by regex, e.g. "up -> update".

Options:

BANNER


  o.on('-h', "Show help") { puts o; exit }
  o.on('-d', "Verbose (Debug)") { Assetify::Opt[:debug] = true }
  o.parse!
end


begin
  Assetify.work!(ARGV)
rescue Interrupt => e
  puts "\nQuitting..."
  puts e.backtrace.join("\n")
  exit 1
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assetify-1.0.0.rc1 bin/assetify