dotsmack

See README.md for example usage


License
BSD-2-Clause-FreeBSD
Install
gem install dotsmack -v 0.5

Documentation

dotsmack - a library for modern, per-directory dotfile configuration

dotsmack is a customizable framework for managing per-project configuration files.

EXAMPLE

$ tree -a examples/twitch/
examples/twitch/
├── bin
│   └── twitch
└── test
    ├── .twitchignore
    ├── a-tale-of-two-cities.txt
    ├── embiggened
    │   └── beginning-programming-with-java-for-dummies.txt
    ├── fahrenheit-451.txt
    ├── shortened
    │   └── beginning-programming-with-java-for-dummies.txt
    └── supertwitter
        ├── .twitchrc.yml
        ├── README.md
        └── beginning-programming-with-java-for-dummies.txt

5 directories, 9 files

$ head examples/twitch/bin/twitch
#!/usr/bin/env ruby

#
# Tweet validator
#

require 'rubygems'
require 'dotsmack'
require 'yaml'

$ examples/twitch/bin/twitch examples/twitch/test/
examples/twitch/test/a-tale-of-two-cities.txt: 614

$ examples/twitch/bin/twitch < examples/twitch/test/a-tale-of-two-cities.txt
-: 614

HOMEPAGE

https://github.com/mcandre/dotsmack

RUBYGEMS

https://rubygems.org/gems/dotsmack

ABOUT

Dotsmack is a Ruby library for adding modern dotfile customization to your Ruby applications.

  • Recursive file scanning, like jshint .
  • dotignore files - fnmatch syntax, like .gitignore
  • dotconfig files - any format (getoptlong, YAML, JSON, ...)
  • Searches for dotfiles in ., .., etc., up to $HOME.

More examples:

REQUIREMENTS

Optional

INSTALL

Install via RubyGems:

$ gem install aspelllint

LICENSE

FreeBSD

DEVELOPMENT

Testing

Keep the interface working:

$ cucumber

Linting

Keep the code tidy:

$ rake lint

Git Hooks

See hooks/.