Sha256: a9ca94ac3f9f66abbf2a380f9139596252bf0d5172e684307cce4a8a32b47788

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'commander'
require 'ass'

program :name, 'ass'
program :version, Ass::VERSION::STRING
program :description, 'Amazing Style Sheets.'
 
command :compile do |c|
  c.syntax = 'ass compile <file | dir ...> [options]'
  c.summary = 'Compile ass files to css'
  c.description = 'Compile a single, or several *.ass files into Cascading Style Sheets. The combinations of compilation below may be mixed to your needs.'
  c.example 'Compile a single file with output to STDOUT', 'ass compile style.ass'
  c.example 'Compile several files to a specific directory (defaults to same dir)', 'ass compile style.ass print.ass iphone.ass --to-dir ./stylesheets'
  c.example 'Compile several files in a directory to a single file', 'ass compile directory_of_ass --to-file ./compiled-style.css'
  c.option '--to-dir', 'Compile file(s) to a directory, maintaining their original names.'
  c.option '--to-file', 'Compile file(s) to a new file, aggregating when multiple files are compiled.'
  c.option '--verbose', 'Output compilation information while in progress'
  c.when_called do |args, options|
    # TODO
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
visionmedia-ass-0.0.2 bin/ass
visionmedia-ass-0.0.3 bin/ass