Sha256: 96b6b663c17d0085f9794581d12ad734dd8071d540448ada7c2f6d6a2db2fb19

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

#!/usr/bin/env ruby

require 'mill'

load Path.pwd / 'code' / 'site.rb'

begin
  case (command = ARGV.shift)
  when nil, 'make'
    $site.make
  when 'clean'
    $site.clean
  when 'check'
    $site.check
  when 'list'
    $site.list
  when 'diff'
    $site.diff
  when 'snapshot'
    $site.snapshot
  when 'upload'
    $site.upload
  when 'show'
    puts $site.send(ARGV.shift)
  else
    raise "Unknown command: #{command.inspect}"
  end
rescue Mill::Error => e
  warn e
  exit(1)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mill-0.16 bin/mill