Sha256: dd1af01b5ed83561be299553999a1718967ca3ccd2c7ee1a13a83751b1d0c15f
Contents?: true
Size: 540 Bytes
Versions: 14
Compression:
Stored size: 540 Bytes
Contents
require 'json' require 'sdl_parser' module Bibliothecary module Parsers class Dub include Bibliothecary::Analyser def self.mapping { /^dub\.json$/ => { kind: 'manifest', parser: :parse_json_runtime_manifest }, /^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
14 entries across 14 versions & 1 rubygems