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