1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-14 03:20:20 +02:00

fix travis build: send arguments to antlr4 #28

This commit is contained in:
krishna 2018-10-04 21:57:41 +05:30
parent c54822f610
commit ae60f0bf84

View File

@ -21,7 +21,7 @@ before_install:
- sudo curl -o /usr/local/lib/antlr-4.7.1-complete.jar https://www.antlr.org/download/antlr-4.7.1-complete.jar
- export CLASSPATH=".:/usr/local/lib/antlr-4.7.1-complete.jar:$CLASSPATH"
- mkdir $HOME/travis-bin
- echo -e "#!/bin/bash\njava -jar /usr/local/lib/antlr-4.7.1-complete.jar" > $HOME/travis-bin/antlr4
- echo -e "#!/bin/bash\njava org.antlr.v4.gui.TestRig" > $HOME/travis-bin/grun
- echo -e '#!/bin/bash\njava -jar /usr/local/lib/antlr-4.7.1-complete.jar "$@"' > $HOME/travis-bin/antlr4
- echo -e '#!/bin/bash\njava org.antlr.v4.gui.TestRig "$@"' > $HOME/travis-bin/grun
- chmod +x $HOME/travis-bin/*
- export PATH=$PATH:$HOME/travis-bin