Sha256: 2c55fdfea65c0eb1b9f73d639d8c6adb3702656ad6d8a6c6d4c9a980323f74ff

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 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 'list'
    $site.list
  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

2 entries across 2 versions & 1 rubygems

Version Path
mill-0.5 bin/mill
mill-0.4 bin/mill