The Wayback Machine - https://web.archive.org/web/20211203094337/https://github.com/github/markup/commit/f6027249a281c868b2acc7772e5354f753b19b75
Skip to content
Permalink
Browse files
Restore "test" as the default rake task
  • Loading branch information
bkeepers committed Jan 16, 2015
1 parent 8bb56ca commit f6027249a281c868b2acc7772e5354f753b19b75
Showing with 6 additions and 5 deletions.
  1. +1 −2 .travis.yml
  2. +2 −2 CONTRIBUTING.md
  3. +3 −1 Rakefile
@@ -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
email: false
@@ -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!

@@ -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
task :default => :test

0 comments on commit f602724

Please sign in to comment.