Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack:paths - always load inflectors #4205

Merged
merged 1 commit into from
Jun 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/tasks/manageiq/ui_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ namespace :ui do
end
end
end

task :load_inflectors => ["ui:load_app_inflectors", "ui:load_asset_engine_inflectors"]
end

namespace :webpack do
Expand All @@ -82,16 +84,14 @@ namespace :webpack do
# 'webpacker:compile') to function.
EvmRakeHelper.with_dummy_database_url_configuration do
Dir.chdir ManageIQ::UI::Classic::Engine.root do
Rake::Task["ui:load_app_inflectors"].invoke
Rake::Task["ui:load_asset_engine_inflectors"].invoke
Rake::Task["webpack:paths"].invoke
Rake::Task["webpacker:#{webpacker_task}"].invoke
end
end
end
end

task :paths do
task :paths => 'ui:load_inflectors' do
paths_config = ManageIQ::UI::Classic::Engine.root.join('config/webpack/paths.json')

File.open(paths_config, 'w') do |file|
Expand Down