Skip to content

Commit c83f388

Browse files
committed
Update testing infrastructure for Travis.
1 parent 483f46c commit c83f388

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Jekyll::Compose
22

3-
Streamline your writing in Jekyll with these commands.
3+
Streamline your writing in Jekyll with some commands.
4+
5+
[![Build Status](https://travis-ci.org/jekyll/jekyll-compose.svg?branch=master)](https://travis-ci.org/jekyll/jekyll-compose)
46

57
## Installation
68

@@ -18,7 +20,7 @@ Or install it yourself as:
1820

1921
## Usage
2022

21-
Usage instructions go here.
23+
Install `jekyll-compose` and run `jekyll help`.
2224

2325
## Contributing
2426

Rakefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
require "bundler/gem_tasks"
2+
require 'rake/testtask'
3+
Rake::TestTask.new(:test) do |test|
4+
test.libs << 'lib' << 'test'
5+
test.pattern = 'test/**/test_*.rb'
6+
test.verbose = true
7+
end
8+
9+
task :default => :test

jekyll-compose.gemspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ Gem::Specification.new do |spec|
1313
spec.homepage = "https://github.com/jekyll/jekyll-compose"
1414
spec.license = "MIT"
1515

16-
spec.files = `git ls-files -z`.split("\x0")
16+
spec.files = `git ls-files -z`.split("\x0").grep(%r{(bin|lib)/})
1717
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
1918
spec.require_paths = ["lib"]
2019

2120
spec.add_development_dependency "bundler", "~> 1.5"
22-
spec.add_development_dependency "rake"
21+
spec.add_development_dependency "rake", "~> 10.0"
22+
spec.add_development_dependency "jekyll", "~> 2.0"
23+
spec.add_development_dependency "shoulda"
2324
end

0 commit comments

Comments
 (0)