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 committed Oct 31, 2023
1 parent 5c0dc79 commit 31a31ef
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 @@ -10,6 +10,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 31a31ef

Please sign in to comment.