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

Fix parallel inherited aliases #74

Merged
merged 4 commits into from
Sep 29, 2020
Merged

Conversation

greglook
Copy link
Collaborator

When lein-monolith each is used with the :parallel option, it does some work up-front to ensure all the tasks referenced are fully resolved and loaded before execution begins. This is done in order to avoid concurrent namespace loads, which is known to cause issues (see issue #15 for details). However, the current implementation does not resolve aliases to real tasks before it tries to load them, leading to confusing behavior when you're trying to use a task alias in parallel.

Fixes #36

@greglook greglook requested a review from a team September 28, 2020 16:18
@greglook greglook merged commit 71f038e into master Sep 29, 2020
@greglook greglook deleted the fix-parallel-inherited-aliases branch September 29, 2020 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lein monolith each :parallel N cannot use globally defined aliases
2 participants