Sha256: 1e7c1550f8cbfdc98c8a9b8a704f3532478ea5edf0268189300281ee280eb726

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

#!/usr/bin/env rake

require 'dpla'

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

8 entries across 8 versions & 1 rubygems

Version Path
dpla-map-4.0.0.0.pre.8 Rakefile
dpla-map-4.0.0.0.pre.7 Rakefile
dpla-map-4.0.0.0.pre.6 Rakefile
dpla-map-4.0.0.0.pre.5 Rakefile
dpla-map-4.0.0.0.pre.4 Rakefile
dpla-map-4.0.0.0.pre.3 Rakefile
dpla-map-4.0.0.0.pre.2 Rakefile
dpla-map-4.0.0.0.pre.1 Rakefile