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

test(melange): show dependency cycle depending on runtime_deps in target dir #7322

Conversation

anmonteiro
Copy link
Collaborator

@anmonteiro anmonteiro commented Mar 15, 2023

No description provided.

@anmonteiro anmonteiro changed the title test(melange): show dependency cycle depending on runtime_deps in tar… test(melange): show dependency cycle depending on runtime_deps in target dir Mar 15, 2023
@anmonteiro anmonteiro force-pushed the anmonteiro/melange-failing-test-eager-runtime-deps branch from 086646a to 3260a3e Compare March 15, 2023 03:17
@anmonteiro anmonteiro force-pushed the anmonteiro/melange-failing-test-eager-runtime-deps branch from 3260a3e to d06505d Compare March 16, 2023 01:07
@anmonteiro anmonteiro added the melange Melange rules and generator label Mar 16, 2023
@anmonteiro anmonteiro force-pushed the anmonteiro/melange-failing-test-eager-runtime-deps branch from d06505d to aecf4f4 Compare March 16, 2023 02:04
@anmonteiro anmonteiro force-pushed the anmonteiro/melange-failing-test-eager-runtime-deps branch from aecf4f4 to c3ef970 Compare March 16, 2023 02:05
Test depending on non-existing paths

$ mkdir another
$ mkdir -p another/another-output/another
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had only ran the action builder eagerly because of this test, but it looks like creating its target dir in source makes the error pop up again, so it's rather an instance of #7207 and the recursive alias work that's gonna come after it.

@@ -31,7 +31,9 @@ Rules created for the assets in the output directory
[1]

$ dune build @mel --display=short
bash some_dir
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a separate PR, it would be good to switch this test to sh unless you need some special bash features.

@rgrinberg rgrinberg merged commit ef9bc1d into ocaml:main Mar 16, 2023
@anmonteiro anmonteiro deleted the anmonteiro/melange-failing-test-eager-runtime-deps branch March 16, 2023 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
melange Melange rules and generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants