Sha256: b8c094529d59bf24f553ccc053c2c48793169e97f52781df8bd7ce9a0dc9d1b0
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
module Bibliothecary module Parsers class Julia include Bibliothecary::Analyser def self.mapping { /^REQUIRE$|.*\/REQUIRE$/i => { kind: 'manifest', parser: :parse_require } } end def self.parse_require(manifest) manifest.split("\n").map do |line| match = line.split(/\s/) { name: match[0], requirement: match[1] || '*', type: 'runtime' } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bibliothecary-6.3.0 | lib/bibliothecary/parsers/julia.rb |