Sha256: dc1fd3f137ae9a81a350d495b304c0a57f12d51e033b5a897a2c72bfee935f51

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

module Rab
  class Builder
    attr_reader :src, :dst

    def initialize(src, dst)
      @src, @dst = src, dst
    end

    def build!
      prj = Bower::Project.create!(src)
      Gem::Packer.new(prj).pack!(dst)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rab-0.1.0 lib/rab/builder.rb
rab-0.0.1 lib/rab/builder.rb