Skip to content

Commit 306b315

Browse files
committed
Expose the core rebuild_yarn_audit_pending rake task
1 parent 93421ac commit 306b315

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Rakefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Import the rake tasks from manageiq core.
2+
#
3+
# HACK: Since we don't have a proper symlink relationship to core like we do
4+
# with other plugins, we have to resort to assuming a sibling directory
5+
# similar to what we do in config/webpack.dev.js.
6+
namespace :app do
7+
load File.join(__dir__, "../manageiq/lib/tasks/test_security.rake")
8+
end
9+
10+
desc "Rebuild yarn audit pending list"
11+
task :rebuild_yarn_audit_pending do
12+
ENV["ENGINE_ROOT"] = __dir__
13+
Rake::Task["app:test:security:rebuild_yarn_audit_pending"].invoke
14+
end

0 commit comments

Comments
 (0)