Sha256: 4431f3e1986e4190998990fd576640c03d6083205c809cb626b167a6274d453f

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

#!/usr/local/bin/ruby
require File.dirname(__FILE__) + '/../lib/staticmatic'

command = ARGV[0]
directory = ARGV[1]

if !command || !directory
  puts 'Usage: staticmatic <build|setup> <directory>'
  exit
end

staticmatic = StaticMatic.new(directory)

case command
  when 'build'
    staticmatic.build
  when 'setup'
    staticmatic.setup
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
staticmatic-0.1.0 bin/staticmatic
staticmatic-0.1.1 bin/staticmatic
staticmatic-0.0.1 bin/staticmatic