Skip to content

Commit f602724

Browse files
committed
Restore "test" as the default rake task
1 parent 8bb56ca commit f602724

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: ruby
22
before_install: sudo pip install docutils
3-
script: bundle exec rake test
43
rvm:
54
- 1.9.3
65
- 2.0.0
@@ -9,4 +8,4 @@ rvm:
98
jdk:
109
- oraclejdk8
1110
notifications:
12-
email: false
11+
email: false

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ Finally add your [tests](#testing).
5353

5454
To run the tests:
5555

56-
$ rake test
56+
$ rake
5757

5858
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
5959
`README.extension.html` should be the desired output.
6060

61-
Now run the tests: `rake test`
61+
Now run the tests: `rake`
6262

6363
If nothing complains, congratulations!
6464

Rakefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env rake
22

3+
require "bundler/gem_tasks"
4+
35
require 'rake/testtask'
46
Rake::TestTask.new(:test) do |test|
57
test.libs << 'lib' << 'test'
@@ -12,4 +14,4 @@ task :console do
1214
sh "irb -I lib -r bundler/setup -r github/markup"
1315
end
1416

15-
task :default
17+
task :default => :test

0 commit comments

Comments
 (0)