Rakefile in finite_machine-0.11.3 vs Rakefile in finite_machine-0.12.0
- old
+ new
@@ -2,7 +2,11 @@
require "bundler/gem_tasks"
FileList['tasks/**/*.rake'].each(&method(:import))
+jruby = RUBY_ENGINE == 'ruby'
+specs = ['spec']
+specs << 'spec:perf' if jruby
+
desc 'Run all specs'
-task ci: %w[ spec spec:perf ]
+task ci: specs