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

Added sudo

This commit is contained in:
Tim Voronov 2020-06-22 18:12:12 -04:00
parent 50c0ad9ff8
commit 3481a85a8e

View File

@ -27,8 +27,8 @@ jobs:
sudo curl -o /usr/local/lib/antlr-${ANTLR_VERSION}-complete.jar https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar
export CLASSPATH=".:/usr/local/lib/antlr-${ANTLR_VERSION}-complete.jar:$CLASSPATH"
sudo mkdir /usr/local/bin/antlr
echo -e '#!/bin/bash\njava -jar /usr/local/lib/antlr-${ANTLR_VERSION}-complete.jar "$@"' > /usr/local/bin/antlr/antlr
echo -e '#!/bin/bash\njava org.antlr.v4.gui.TestRig "$@"' > /usr/local/bin/antlr/grun
sudo echo -e '#!/bin/bash\njava -jar /usr/local/lib/antlr-${ANTLR_VERSION}-complete.jar "$@"' > /usr/local/bin/antlr/antlr
sudo echo -e '#!/bin/bash\njava org.antlr.v4.gui.TestRig "$@"' > /usr/local/bin/antlr/grun
antlr
- name: Set up linters