Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
taste-setup
Commits
e0d8cab2
Commit
e0d8cab2
authored
Feb 21, 2017
by
Thanassis Tsiodras
Browse files
Install ANTLR3 dependencies
parent
d6aa8950
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/05-antlr.sh
0 → 100755
View file @
e0d8cab2
#!/bin/bash
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
TASTE_PATHS
=
$HOME
/.bashrc.taste
# Setup ANTL3 support in ~/.local/bin
cd
$DIR
/../antlr/antlr_python_runtime-3.1.3
||
exit
1
pip2
install
--user
--upgrade
.
||
exit
1
# Add .local/bin to PATH
PATH_CMD
=
'export PATH=$PATH:$HOME/.local/bin'
grep
"
${
PATH_CMD
}
"
${
TASTE_PATHS
}
||
echo
"
${
PATH_CMD
}
"
>>
${
TASTE_PATHS
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment