You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer
I want to be able to add a rake task to my CI build that will fail if there are license action items to address
So that I don't inadvertently add a dependency to my app that the client doesn't want
One option would be to add a new rake task like so:
namespace :license do
desc 'checks whether there are action items and returns a 0 or a 1 - useful for ci'
task :check => :generate_dependencies do
action_items = LicenseFinder::Finder.new.action_items
if action_items.present?
puts "License action items:", action_items
exit -1
else
exit 0
end
end
end
The other option would be to update the license:actions task to exit with a non-zero return code if there are any actions to take.
Charles LeRose and Jeff Dean
The text was updated successfully, but these errors were encountered:
As a developer
I want to be able to add a rake task to my CI build that will fail if there are license action items to address
So that I don't inadvertently add a dependency to my app that the client doesn't want
One option would be to add a new rake task like so:
The other option would be to update the license:actions task to exit with a non-zero return code if there are any actions to take.
Charles LeRose and Jeff Dean
The text was updated successfully, but these errors were encountered: