Rakefile in docparser-0.0.1 vs Rakefile in docparser-0.1.0
- old
+ new
@@ -1,15 +1,30 @@
require "bundler/gem_tasks"
+require 'rake/testtask'
+
+Rake::TestTask.new do |t|
+ t.libs << 'lib/docparser'
+ t.test_files = FileList['test/lib/**/*_test.rb']
+ t.verbose = true
+end
+
+task test: :rubocop
+
+task :rubocop do
+ sh 'rubocop'
+end
+
+task :default => :test
\ No newline at end of file