Skip to content

Commit

Permalink
performance: sym_link
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Aug 9, 2024
1 parent e03e65d commit 1c2a121
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/tasks/avo_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ task "avo:sym_link" do
`touch #{packages_path}/.keep`
end

gem_paths = `bundle list --paths 2>/dev/null`

["avo-advanced", "avo-pro", "avo-dynamic_filters", "avo-dashboards", "avo-menu", "avo-kanban"].each do |gem|
path = `bundle show #{gem} 2> /dev/null`.chomp
path = `echo "$gem_paths" | grep "/$gem" | head -n 1`

# If path is emty we check if package is defined outside of root (on release process it is)
if path.empty?
Expand Down

0 comments on commit 1c2a121

Please sign in to comment.