File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 11begin
22 require 'bundler/setup'
3+
4+ require 'bundler/gem_tasks'
5+ require "minitest/test_task"
6+ require 'rdoc/task'
37 require 'rubocop/rake_task'
48rescue LoadError
59 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
610end
711
8- require 'rdoc/task'
9-
1012RDoc ::Task . new ( :rdoc ) do |rdoc |
1113 rdoc . rdoc_dir = 'rdoc'
1214 rdoc . title = 'BootstrapForm'
@@ -15,23 +17,13 @@ RDoc::Task.new(:rdoc) do |rdoc|
1517 rdoc . rdoc_files . include ( 'lib/**/*.rb' )
1618end
1719
18- require 'bundler/gem_tasks'
19-
20- require "minitest/test_task"
21-
2220Minitest ::TestTask . create ( :test ) do |t |
2321 t . libs << "test"
2422 t . libs << "lib"
2523 t . warning = false
2624 t . test_globs = [ "test/**/*_test.rb" ]
2725end
2826
29- # This automatically updates GitHub Releases whenever we `rake release` the gem
30- task "release:rubygem_push" do
31- require "chandler/tasks"
32- Rake . application . invoke_task ( "chandler:push" )
33- end
34-
3527desc 'Run RuboCop checks'
3628RuboCop ::RakeTask . new ( :rubocop )
3729
You can’t perform that action at this time.
0 commit comments