Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
puppet-icinga2_notificationtest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
testing
puppet-icinga2_notificationtest
Commits
18ee731d
Commit
18ee731d
authored
Dec 09, 2016
by
Markus Frosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rakefile: Define Rubocop task
parent
334b777f
Pipeline
#183
passed with stage
in 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Rakefile
Rakefile
+3
-1
No files found.
Rakefile
View file @
18ee731d
require
'rubygems'
require
'puppetlabs_spec_helper/rake_tasks'
require
'puppet-lint/tasks/puppet-lint'
require
'rubocop/rake_task'
ENV
[
'SPEC_OPTS'
]
=
'--format documentation'
unless
ENV
[
'SPEC_OPTS'
]
PuppetSyntax
.
exclude_paths
=
[
'vendor/**/*.*'
]
PuppetLint
.
configuration
.
ignore_paths
=
%w(spec/**/*.pp pkg/**/*.pp vendor/**/*.pp)
RuboCop
::
RakeTask
.
new
# Alternative configuration until https://github.com/rodjek/puppet-lint/pull/397 gets merged
Rake
::
Task
[
:lint
].
clear
...
...
@@ -13,4 +15,4 @@ PuppetLint::RakeTask.new :lint do |config|
config
.
ignore_paths
=
PuppetLint
.
configuration
.
ignore_paths
end
task
:all
=>
[
:validate
,
:lint
,
:spec
,
:rubocop
]
task
all:
[
:validate
,
:lint
,
:spec
,
:rubocop
]
Write
Preview
Markdown
is supported
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