Browse Source

Install dependencies in bootstrap script

Taddeus Kroes 11 năm trước cách đây
mục cha
commit
761b25edfa
1 tập tin đã thay đổi với 2 bổ sung và 1 xóa
  1. 2 1
      bootstrap.bash

+ 2 - 1
bootstrap.bash

@@ -1,6 +1,8 @@
 #!/usr/bin/env bash
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 
+sudo apt-get install -y build-essential cmake python-dev git vim-nox
+
 git submodule update --init
 
 ln -sf $DIR/bashrc ~/.bashrc
@@ -10,6 +12,5 @@ ln -sf $DIR/gitconfig ~/.gitconfig
 
 source ~/.bashrc
 
-sudo apt-get install -y build-essential cmake python-dev vim-nox
 vim +PluginInstall +qall
 cd $DIR/vim/bundle/YouCompleteMe && ./install.sh