Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluerail/capistrano-dirty
Check for dirty strings in the codebase
https://github.com/bluerail/capistrano-dirty
capistrano ci deployment ruby ruby-on-rails
Last synced: 10 days ago
JSON representation
Check for dirty strings in the codebase
- Host: GitHub
- URL: https://github.com/bluerail/capistrano-dirty
- Owner: bluerail
- License: mit
- Created: 2018-02-19T07:28:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-19T12:05:33.000Z (almost 7 years ago)
- Last Synced: 2024-04-25T17:41:23.724Z (10 months ago)
- Topics: capistrano, ci, deployment, ruby, ruby-on-rails
- Language: Ruby
- Size: 8.79 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Capistrano::Dirty
A little capistrano task for checking if a codebase is dirty, against a couple of patterns (e.g. FIXMEs, git conflict markers...).
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'capistrano-dirty'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-dirty
To expose the Capistrano task, add the following to your Capfile:
```ruby
require 'capistrano_dirty'
load 'capistrano_dirty/tasks.rake'
```Finally, to fail deploys when something is found, you can do something like this in your Capfile:
```ruby
before 'deploy:check', 'capistrano_dirty:check'
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/bluerail/capistrano-dirty
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).