antlr 4.0
The download link to 3.5 in the old formula no longer works, upgraded to antlr 4.0. Closes Homebrew/homebrew#17238. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
a6cac43c1a
commit
0accd80680
1 changed files with 4 additions and 4 deletions
|
@ -2,11 +2,11 @@ require 'formula'
|
|||
|
||||
class Antlr < Formula
|
||||
homepage 'http://www.antlr.org/'
|
||||
url 'http://www.antlr.org/download/antlr-3.5-complete.jar'
|
||||
sha1 'f552792c4cdceb8c02fa1354e773349763267ab9'
|
||||
url 'http://www.antlr.org/download/antlr-4.0-complete.jar'
|
||||
sha1 '6186fb2d530fa822251224250cbf55a238f248ac'
|
||||
|
||||
def install
|
||||
prefix.install "antlr-3.5-complete.jar"
|
||||
bin.write_jar_script prefix/"antlr-3.5-complete.jar", "antlr-3.4"
|
||||
prefix.install "antlr-4.0-complete.jar"
|
||||
bin.write_jar_script prefix/"antlr-4.0-complete.jar", "antlr4"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue