lib/multi_sync/extensions/middleman.rb in multi_sync-0.0.2 vs lib/multi_sync/extensions/middleman.rb in multi_sync-0.0.3
- old
+ new
@@ -1,22 +1,16 @@
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'))
+ Pathname.new(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