mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-04 03:02:02 +02:00
Added sudo
This commit is contained in:
parent
50c0ad9ff8
commit
3481a85a8e
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user