Sha256: 6cc5ce5245126f6151f103805cdb14e7441c67a02c59c7151756bf4ba1b60de2
Contents?: true
Size: 566 Bytes
Versions: 56
Compression:
Stored size: 566 Bytes
Contents
require 'json' require 'sdl_parser' module Bibliothecary module Parsers class Dub include Bibliothecary::Analyser def self.mapping { match_filename("dub.json") => { kind: 'manifest', parser: :parse_json_runtime_manifest }, match_filename("dub.sdl") => { kind: 'manifest', parser: :parse_sdl_manifest } } end def self.parse_sdl_manifest(manifest) SdlParser.new(:runtime, manifest).dependencies end end end end
Version data entries
56 entries across 56 versions & 1 rubygems