Sha256: 29a07aa0650f62ec03a23ad052e72345250831d4b0b8443b7d0f49c2976e7aad

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

#!/usr/bin/env rake

require 'linked_vocabs'

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

3 entries across 3 versions & 1 rubygems

Version Path
linked_vocabs-0.3.0 Rakefile
linked_vocabs-0.2.0 Rakefile
linked_vocabs-0.1.0 Rakefile