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

Rolled back to home dir

This commit is contained in:
Tim Voronov 2020-06-22 18:16:55 -04:00
parent 3481a85a8e
commit 36a6c5682b

View File

@ -26,9 +26,11 @@ jobs:
run: |
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
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
mkdir $HOME/antlr-bin
echo -e '#!/bin/bash\njava -jar /usr/local/lib/antlr-${ANTLR_VERSION}-complete.jar "$@"' > $HOME/antlr-bin/antlr
echo -e '#!/bin/bash\njava org.antlr.v4.gui.TestRig "$@"' > $HOME/antlr-bin/grun
chmod +x $HOME/antlr-bin/*
export PATH=$PATH:$HOME/antlr-bin
antlr
- name: Set up linters