Sha256: 8dd8f794e54b7194f5333c8e0553b3e287b058e812786bd210f5662938399f24
Contents?: true
Size: 674 Bytes
Versions: 15
Compression:
Stored size: 674 Bytes
Contents
# coding: utf-8 # Treetop (http://treetop.rubyforge.org/) grammar for determining package # definition versions. require 'treetop' require 'fig/grammar/base' require 'fig/grammar/version' module Fig module Grammar grammar VersionIdentification include Fig::Grammar::Base include Fig::Grammar::Version rule everything ws_or_comment* grammar_version:grammar_version? .* { def get_grammar_version(build_state) return if not grammar_version return if grammar_version.text_value.empty? return grammar_version.to_package_statement(build_state) end } end end end end
Version data entries
15 entries across 15 versions & 1 rubygems