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

Latest commit

 

History

History
80 lines (52 loc) · 1.77 KB

README.md

File metadata and controls

80 lines (52 loc) · 1.77 KB

sprout-terminal cookbook

Build Status

Configures OSX Terminal

Usage

Prerequisites

Quickstart

bundle
bundle exec soloist

Cookbook Usage

Attributes

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

  • default_profile — Sets the default terminal profile (accessed via Preferences → Settings); default is 'Basic';

Recipes

  1. sprout-terminal — The default recipe includes all of the following unless otherwise specified
  2. sprout-terminal::set_profile — sets the default and startup profiles to the value of the default_profile attribute
  3. sprout-terminal::close_window_on_exit — sets the window to close of the shell exists cleanly
  4. sprout-terminal::reload — since the terminal app is probably running during this script this forces it to reload it settings.

Contributing

Before committing

bundle
bundle exec rake

The default rake task includes rubocop, foodcritic, unit specs

bundle
bundle exec rake rubocop
bundle
bundle exec rake foodcritic

Unit specs

Unit specs use ServerSpec

bundle
bundle 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 keycastr is not already installed on the system.

bundle
bundle exec rake spec:integration