Sha256: 635d905bc3d769bb5746ccb15dc16bb86cc2bd2132ab9a73425c670ae9dfdbf4

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

require 'wax_tasks'

namespace :wax do
  desc 'generate collection md pages from yaml or csv data source'
  task :pagemaster do
    args = ARGV.drop(1).each { |a| task a.to_sym }
    site_config = WaxTasks.config
    if args.empty?
      abort "You must specify one or more collections after 'rake wax:pagemaster' to generate.".magenta
    else
      args.each { |a| WaxTasks.pagemaster(a, site_config) }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wax_tasks-0.0.47 lib/tasks/pagemaster.rake