Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
foswiki
Commits
75a8c031
Commit
75a8c031
authored
Mar 15, 2022
by
André Kerkhoff
Browse files
Fix cookstyle task in Rakefile
parent
d205a946
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rakefile
View file @
75a8c031
...
...
@@ -2,12 +2,12 @@ begin
require
'cookstyle'
require
'rubocop/rake_task'
desc
'Run
Ruby
style checks'
desc
'Run
Cook
style checks'
RuboCop
::
RakeTask
.
new
(
:cookstyle
)
rescue
LoadError
desc
'rubocop rake task not available'
task
:cookstyle
do
abort
'Rubocop/C
hef
style rake task is not available. Be sure to install rubocop and cookstyle'
abort
'Rubocop/C
ook
style rake task is not available. Be sure to install rubocop and cookstyle'
end
end
...
...
@@ -52,4 +52,4 @@ rescue LoadError
end
end
task
default:
%w(
rubocop foodcritic
chefspec kitchen:all)
task
default:
%w(
cookstyle
chefspec kitchen:all)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment