Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Latest commit

 

History

History
75 lines (46 loc) · 1.42 KB

README.md

File metadata and controls

75 lines (46 loc) · 1.42 KB

sprout-vim cookbook

Build Status

Cookbook for managing vim on an OS X workstation

Usage

Prerequisites

Quickstart

./sprout exec soloist

Cookbook Usage

Attributes

NOTE: All preferences are namespaced under sprout => vim => config they include:

  • path — path to the cloned vim-config repo; default is ~/.vim
  • repo — url of the vim-config remote; default is git://github.com/pivotal/vim-config.git
  • ref — ref-spec to clone; default is master

Recipes

  1. sprout-vim
  2. sprout-vim::config
  3. sprout-vim::tmux

Contributing

Before committing

./sprout exec rake

The default rake task includes rubocop, foodcritic, unit specs

./sprout exec rake rubocop
./sprout exec rake foodcritic

Unit specs

Unit specs use ChefSpec

./sprout exec rake spec:unit

Integration specs

Integrations specs will run the default recipe on the host system (destructive) and make assertions on the system after install.

Note: It has a precondition that vim is not already installed on the system.

./sprout exec rake spec:integration