Sha256: b370c05b02ad3e43cb1db69a6c972b0627b930cc40854790c6890c73f489b73a

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 Bytes

Contents

#!/usr/bin/env rake

require 'dpla/map'

desc "Generate Vocabularies"

task :gen_vocabs do
  LinkedVocabs.vocabularies.each_key do |name|
    puts "Generating vocabulary at lib/rdf/#{name}.rb"
    begin
      LinkedVocabs.load_vocabulary(name)
    rescue
      puts "Failed to load #{name}: #{$!.message}"
      puts $!.backtrace
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dpla-map-4.0.0.0.pre.13 Rakefile
dpla-map-4.0.0.0.pre.12 Rakefile
dpla-map-4.0.0.0.pre.11 Rakefile
dpla-map-4.0.0.0.pre.10 Rakefile
dpla-map-4.0.0.0.pre.9 Rakefile