Skip to content

Instantly share code, notes, and snippets.

@malanjp
Created March 15, 2014 11:06
Show Gist options
  • Save malanjp/9565272 to your computer and use it in GitHub Desktop.
Save malanjp/9565272 to your computer and use it in GitHub Desktop.
- hosts: all
user: vagrant
sudo: yes
tasks:
- name: locale settings
command: apt-get install language-pack-ja
command: export LANG=ja_JP.UTF-8
command: update-locale LANG=ja_JP.UTF-8
command: locale-gen
- name: install common packages
command: apt-get build-dep vim -y
command: apt-get install git mosh tmux zsh luajit libluajit-5.1-dev lua5.2 liblua5.2-dev mercurial gettext libncurses5-dev libxmu-dev libgtk2.0-dev libperl-dev python-dev python3-dev ruby-dev -y
- name: clone vim
command: hg clone https://vim.googlecode.com/hg/ vim
failed_when: false
- name: make vim +lua option
command: chdir=vim
command: ./configure --with-features=huge --disable-darwin --disable-selinux --enable-multibyte --enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp=dynamic --with-lua-prefix=/usr --with-luajit --enable-fail-if-missing
command: make chdir=vim
command: make install chdir=vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment