Sha256: c5be200f086992841f7c34e703dca57deb43330ca73d7cf4e7410ce0ad3e0726

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

#!/usr/bin/env ruby
$: << File.join(File.dirname(__FILE__), '..', 'lib')
require 'rocker/docket'
FileUtils.mkdir_p Rocker::Docket.dir 


case ARGV[0]
when 'build'
  Rocker::Docket.build
when 'update'
  tag = Rocker::Docket.update
  if tag
    puts "Updated to #{tag}."
  else
    puts "Already on latest version."
  end 
else
  puts "Usage: rocker-docket [build|update]"
  exit 1
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocker-docket-0.0.2 bin/rocker-docket