From f6027249a281c868b2acc7772e5354f753b19b75 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Fri, 16 Jan 2015 10:37:02 -0500 Subject: [PATCH] Restore "test" as the default rake task --- .travis.yml | 3 +-- CONTRIBUTING.md | 4 ++-- Rakefile | 4 +++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c14ebca..0a44f56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: ruby before_install: sudo pip install docutils -script: bundle exec rake test rvm: - 1.9.3 - 2.0.0 @@ -9,4 +8,4 @@ rvm: jdk: - oraclejdk8 notifications: - email: false \ No newline at end of file + email: false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e5867fa..57ba6e9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -53,12 +53,12 @@ Finally add your [tests](#testing). To run the tests: - $ rake test + $ rake When adding support for a new markup library, create a `README.extension` in `test/markups` along with a `README.extension.html`. As you may imagine, the `README.extension` should be your known input and the `README.extension.html` should be the desired output. -Now run the tests: `rake test` +Now run the tests: `rake` If nothing complains, congratulations! diff --git a/Rakefile b/Rakefile index 82f7f9a..5a7b12e 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,7 @@ #!/usr/bin/env rake +require "bundler/gem_tasks" + require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' @@ -12,4 +14,4 @@ task :console do sh "irb -I lib -r bundler/setup -r github/markup" end -task :default \ No newline at end of file +task :default => :test