Sha256: 7283fe1536a8ab3dabd217894d2cfbf8ba70e62fbf35a4b6aa3b962c6e25933e

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

#!/usr/bin/env ruby
#require 'rubygems'
$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)") { 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-0.4.0 bin/assetify