Open
Description
Using the example found here:
https://www.rubydoc.info/github/wycats/thor/Thor/RakeCompat
I am unable to run the RSpec task, or have it show when running thor list
.
user01@M1711732 [17:26:32] ~/Documents/development/
$ thor list --debug
user01@M1711732 [17:26:42] ~/Documents/development/
$ thor list --debug --all
user01@M1711732 [17:26:46] ~/Documents/development/
$ cat Thorfile
require 'thor/rake_compat'
require 'rspec/core/rake_task'
class Default < Thor
include Thor::RakeCompat
RSpec::Core::RakeTask.new(:spec) do |t|
t.spec_opts = ['--options', './.rspec']
t.spec_files = FileList['spec/**/*_spec.rb']
end
end
user01@M1711732 [17:26:54] ~/Documents/development/
$ thor version
Thor 0.20.0
Metadata
Metadata
Assignees
Labels
No labels