Sha256: 6d9b2996166b6d1ce0139ca3f768b0c9635c0c62df4ac190c412e478962550c2

Contents?: true

Size: 409 Bytes

Versions: 8

Compression:

Stored size: 409 Bytes

Contents

require 'fontrobot/version'
require 'fontrobot/generator'
require 'fontrobot/watcher'

module Fontrobot
  # Usage:
  # Fontrobot.compile 'path/to/vectors', '-o', 'path/to/output'
  def compile(*args)
    Fontrobot::Generator.start(args) # as array
  end

  def watch(*args)
    Fontrobot::Watcher.watch(*args)
  end

  def stop
    Fontrobot::Watcher.stop
  end

  module_function :compile, :watch, :stop
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fontrobot-0.1.8 lib/fontrobot.rb
fontrobot-0.1.7 lib/fontrobot.rb
fontrobot-0.1.6 lib/fontrobot.rb
fontrobot-0.1.5 lib/fontrobot.rb
fontrobot-0.1.4 lib/fontrobot.rb
fontrobot-0.1.3 lib/fontrobot.rb
fontrobot-0.1.2 lib/fontrobot.rb
fontrobot-0.1 lib/fontrobot.rb