Skip to content

Commit

Permalink
Provide an alias test:foreman-tasks
Browse files Browse the repository at this point in the history
This alias matches the plugin name, which makes it easier to write a
reusable action.
  • Loading branch information
ekohl authored and adamruzicka committed Jan 23, 2024
1 parent 5c2d1fb commit 79d00aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/foreman_tasks/tasks/test.rake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ namespace :test do

Rake::Task[test_task.name].invoke
end

desc 'Alias for test:foreman_tasks'
task :'foreman-tasks' => :foreman_tasks
end

Rake::Task[:test].enhance do
Expand Down

0 comments on commit 79d00aa

Please sign in to comment.