Skip to content

Commit

Permalink
Test with rake, like most everyone else.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph committed Aug 19, 2014
1 parent d5dd605 commit 905b3ae
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GEM
crack (0.4.2)
safe_yaml (~> 1.0.0)
libv8 (3.16.14.3)
rake (10.3.2)
ref (1.0.5)
safe_yaml (1.0.3)
therubyracer (0.12.1)
Expand All @@ -26,5 +27,6 @@ PLATFORMS
ruby

DEPENDENCIES
rake
ruby-clean-css!
webmock
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ will now work like you expect.

## Contributing

Pull requests are welcome. Please supply a test case with your PR. You
typically run tests like this:

bundle exec ruby test/test_compressor.rb
Pull requests are welcome. Please supply a test case with your PR.

## License

Expand Down
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require('rake/testtask')

Rake::TestTask.new do |t|
t.libs += ['lib']
t.test_files = FileList['test/test_*.rb']
t.verbose = true
end

task(:default => :test)
1 change: 1 addition & 0 deletions ruby-clean-css.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Gem::Specification.new do |gem|
gem.version = RubyCleanCSS::VERSION
gem.add_dependency('therubyracer')
gem.add_dependency('commonjs')
gem.add_development_dependency('rake')
gem.add_development_dependency('webmock')

# Append all submodule files to the list of gem files.
Expand Down

0 comments on commit 905b3ae

Please sign in to comment.