Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install codeintel as a base package #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ start() {
echo "sass - Sass"
echo "typescript - TypeScript"
echo "stylus - Stylus"
echo "codeintel - CodeIntel"
# echo "go - Go"
# echo "heroku - Heroku"
# echo "rhc - RedHat OpenShift"
Expand Down Expand Up @@ -163,7 +164,7 @@ start() {

"base" )
echo "Installing base packages. Use --help for more options"
start install node tmux_install nak ptyjs collab
start install node tmux_install nak ptyjs collab codeintel
;;

* )
Expand Down Expand Up @@ -221,6 +222,11 @@ check_python() {
echo "Python version 2.7 is required to install pty.js. Please install python 2.7 and try again. You can find more information on how to install Python in the docs: https://docs.aws.amazon.com/cloud9/latest/user-guide/ssh-settings.html#ssh-settings-requirements"
exit 100
fi

if ! which pip &> /dev/null; then
echo "pip is required to install CodeIntel. Please install pip and try again"
exit 100
fi
}

# NodeJS
Expand Down Expand Up @@ -450,6 +456,20 @@ stylus(){
"$NPM" install stylus
}

codeintel(){
echo :Installing CodeIntel
pip install inflector==2.0.12

mkdir -p /tmp/codeintel
cd /tmp/codeintel
pip download -d /tmp/codeintel codeintel==0.9.3 inflector==2.0.12
tar xf CodeIntel-0.9.3.tar.gz
mv CodeIntel-0.9.3/SilverCity CodeIntel-0.9.3/silvercity
tar czf CodeIntel-0.9.3.tar.gz CodeIntel-0.9.3
pip install -U --no-index --find-links=/tmp/codeintel codeintel inflector==2.0.12
rm -rf /tmp/codeintel
}

# go(){

# }
Expand Down