diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..e3a4f193 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..f819a513 --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: ruby diff --git a/README.md b/README.md index 40e513f0..bcd49ea2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [DevDocs](http://devdocs.io) — Documentation Browser +# [DevDocs](http://devdocs.io) [![Build Status](https://travis-ci.org/Thibaut/devdocs.svg?branch=master)](https://travis-ci.org/Thibaut/devdocs) DevDocs combines multiple API documentations in a fast, organized, and searchable interface. diff --git a/Rakefile b/Rakefile index 311eeca1..3904cbd7 100644 --- a/Rakefile +++ b/Rakefile @@ -5,6 +5,11 @@ require 'thor' $LOAD_PATH.unshift 'lib' +task :default do + $LOAD_PATH.unshift 'test' + Dir['test/**/*_test.rb'].map(&File.method(:expand_path)).each(&method(:require)) +end + namespace :assets do desc 'Compile all assets' task :precompile do