Rakefile in asciidoctor-bespoke-1.0.0.alpha.1 vs Rakefile in asciidoctor-bespoke-1.0.0.alpha.2
- old
+ new
@@ -1,7 +1,5 @@
-begin
- require 'bundler/gem_tasks'
-rescue LoadError => e
- warn e.message
-end
+# frozen_string_literal: true
-task default: ['build']
+$default_tasks = [] # rubocop:disable Style/GlobalVars
+Dir.glob('tasks/*.rake').each {|file| load file }
+task default: $default_tasks unless $default_tasks.empty? # rubocop:disable Style/GlobalVars