Sha256: 96e4f3518d4fe5c8c288514181415db84a6dc50e38937fdb27f161ac440e08e2

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

module MultiSync
  module Extensions
    class Middleman
      MultiSync.debug "Middleman -v #{::Middleman::VERSION} auto-detected"

      class << self
        def source_dir
          File.expand_path(File.join(ENV['MM_ROOT'], 'build'))
        end

        def destination_dir
          ''
        end
      end

      MultiSync.source(:middleman,
        type: :local,
        source_dir: MultiSync::Extensions::Middleman.source_dir
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multi_sync-0.0.2 lib/multi_sync/extensions/middleman.rb