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:
parent
3481a85a8e
commit
36a6c5682b
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user