Sha256: 6bc4b91f0f12737df95f6b02197daca736af0bc543bb8a57224a0ca49c2ba5c1

Contents?: true

Size: 669 Bytes

Versions: 19

Compression:

Stored size: 669 Bytes

Contents

module Softcover
  class Builder
    include Softcover::Utils

    attr_accessor :manifest, :built_files

    def initialize
      @manifest = Softcover::BookManifest.new(verify_paths: true,
                                              source: source)
      @built_files = []
      write_polytexnic_commands_file
    end

    def build!(options={})
      setup
      build(options)
      verify
      self
    end

    def clean!; end

    private
      def setup; end
      def verify; end

      # Writes out the PolyTeXnic commands from polytexnic.
      def write_polytexnic_commands_file
        Polytexnic.write_polytexnic_style_file(Dir.pwd)
      end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
softcover-0.7.11 lib/softcover/builder.rb
softcover-0.7.10 lib/softcover/builder.rb
softcover-0.7.9 lib/softcover/builder.rb
softcover-0.7.8 lib/softcover/builder.rb
softcover-0.7.7 lib/softcover/builder.rb
softcover-0.7.6 lib/softcover/builder.rb
softcover-0.7.5 lib/softcover/builder.rb
softcover-0.7.4 lib/softcover/builder.rb
softcover-0.7.3 lib/softcover/builder.rb
softcover-0.7.2 lib/softcover/builder.rb
softcover-0.7.1 lib/softcover/builder.rb
softcover-0.7.0 lib/softcover/builder.rb
softcover-0.6.10 lib/softcover/builder.rb
softcover-0.6.9 lib/softcover/builder.rb
softcover-0.6.7 lib/softcover/builder.rb
softcover-0.6.6 lib/softcover/builder.rb
softcover-0.6.5 lib/softcover/builder.rb
softcover-0.6.4 lib/softcover/builder.rb
softcover-0.6.3 lib/softcover/builder.rb