1 #!/usr/bin/ruby 2 # encoding: utf-8 3 4 require 'antlr3' 5 require 'hoe' 6 7 Hoe.spec "antlr3" do 8 self.version = ANTLR3::VERSION_STRING 9 self.rubyforge_name = "antlr3" 10 11 developer "Kyle Yetter", "kcy5b (at] yahoo.com" 12 13 spec_extras.update( 14 :required_ruby_version => ">= 1.8.7" 15 ) 16 17 self.test_globs = [ 18 "test/unit/test-dfa.rb", 19 "test/unit/test-tree-wizard.rb", 20 "test/unit/test-streams.rb", 21 "test/unit/test-recognizers.rb", 22 "test/unit/test-trees.rb", 23 "test/unit/test-exceptions.rb", 24 "test/unit/test-scope.rb", 25 "test/unit/test-scheme.rb", 26 "test/unit/test-template.rb", 27 "test/functional/delegation/import.rb", 28 "test/functional/lexer/xml.rb", 29 "test/functional/lexer/properties.rb", 30 "test/functional/lexer/nuances.rb", 31 "test/functional/lexer/basic.rb", 32 "test/functional/lexer/filter-mode.rb", 33 "test/functional/lexer/syn-pred.rb", 34 "test/functional/debugging/rule-tracing.rb", 35 "test/functional/debugging/profile-mode.rb", 36 "test/functional/debugging/debug-mode.rb", 37 "test/functional/ast-output/hetero-nodes.rb", 38 "test/functional/ast-output/construction.rb", 39 "test/functional/ast-output/rewrites.rb", 40 "test/functional/ast-output/tree-rewrite.rb", 41 "test/functional/ast-output/auto-ast.rb", 42 "test/functional/main/main-scripts.rb", 43 "test/functional/tree-parser/basic.rb", 44 "test/functional/parser/predicates.rb", 45 "test/functional/parser/backtracking.rb", 46 "test/functional/parser/properties.rb", 47 "test/functional/parser/nuances.rb", 48 "test/functional/parser/rule-methods.rb", 49 "test/functional/parser/basic.rb", 50 "test/functional/parser/actions.rb", 51 "test/functional/parser/calc.rb", 52 "test/functional/parser/ll-star.rb", 53 "test/functional/parser/scopes.rb", 54 "test/functional/template-output/template-output.rb", 55 "test/functional/token-rewrite/via-parser.rb", 56 "test/functional/token-rewrite/basic.rb" 57 ] 58 59 end 60