Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hojberg/guard-yeti
Guard::Yeti automatically run's your YUI tests via Yeti
https://github.com/hojberg/guard-yeti
Last synced: 2 months ago
JSON representation
Guard::Yeti automatically run's your YUI tests via Yeti
- Host: GitHub
- URL: https://github.com/hojberg/guard-yeti
- Owner: hojberg
- Created: 2011-10-04T21:06:31.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-29T14:33:09.000Z (about 13 years ago)
- Last Synced: 2024-04-24T15:45:08.165Z (8 months ago)
- Language: Ruby
- Homepage: https://github.com/hojberg/guard-yeti
- Size: 115 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guard::Yeti
## Install
Please be sure to have [Guard](https://github.com/guard/guard) and [Yeti](http://yuilibrary.com/projects/yeti/) installed before continue.
Install the gem:
$ gem install guard-yeti
Add it to your Gemfile (inside test group):
gem 'guard-yeti'
Add guard definition to your Guardfile with:
$ guard init yeti
## Usage
Please read the [Guard usage documentation](https://github.com/guard/guard#readme).
Start the yeti server and open http://localhost:8000 in a browser
```
yeti --server
```## Guardfile
Please read [Guard doc](https://github.com/guard/guard#readme) for more info about the Guardfile DSL.
### Rails app
``` ruby
guard 'yeti' do
watch(%r{^public/javascripts/(.*).js}) { |m| "public/javascripts/test/#{m[1]}_test.html" }
watch(%r{^public/javascripts/test/(.*).html})
end
```
## Author[Simon Højberg](http://twitter.com/shojberg)