Sha256: 1e0b93d2f179b56cf037165c622835f0dd49492fc5d824b05080f5b45415c57b

Contents?: true

Size: 486 Bytes

Versions: 11

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 'output-dir'
    puts $site.output_dir
  else
    raise "Unknown command: #{command.inspect}"
  end
rescue Mill::Error => e
  warn e
  exit(1)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mill-0.11 bin/mill
mill-0.10 bin/mill
mill-0.9.1 bin/mill
mill-0.9 bin/mill
mill-0.8.4 bin/mill
mill-0.8.3 bin/mill
mill-0.8.2 bin/mill
mill-0.8 bin/mill
mill-0.7.3 bin/mill
mill-0.7.2 bin/mill
mill-0.7.1 bin/mill