-
Notifications
You must be signed in to change notification settings - Fork 415
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
feat(melange): install melange libraries #6602
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
fa99710
feat(melange): install melange libraries
anmonteiro ff26d4f
test: `dune build @all` now works
anmonteiro 0aa59c8
feat: serialize `(modes melange)` in dune package
anmonteiro aaaf06a
feat: allow depending on melange mode libraries from other libraries
anmonteiro 7e0cb06
feat: emit public library modules to "$emit_target/node_modules/pkg_n…
anmonteiro f3ed7a8
Merge branch 'main' into jchavarri/melange-install
jchavarri 4224f26
use Path.Build.L.relative
jchavarri 27905d1
simplify cmt_files calculation
jchavarri 21de584
add test for private libs with package
jchavarri 0e7225a
fix test for private libs with package
jchavarri a936818
repro bug with 2 dune projects
jchavarri cb1d1cc
melange: fix install for public libs in diff dune projects
jchavarri 4457c7d
melange: improve 2 dune projs test + add complex one to show failure
jchavarri f121864
melange: fix installation in complex cases
jchavarri 005c41d
melange: add cyclic dep btw dune-projects
jchavarri 941549e
melange: update test output
jchavarri 3be0727
melange: install public libs always
jchavarri 0ebe416
melange: inline local fun
jchavarri 505d383
melange: add installation test for two modes (#5)
jchavarri a39fa72
Merge pull request #4 from jchavarri/jchavarri/melange-install-public…
jchavarri 4064992
Merge branch 'main' into anmonteiro/melange-install
jchavarri ccf117a
Merge remote-tracking branch 'ocaml/main' into anmonteiro/melange-ins…
anmonteiro 78dd6fa
promote failing test
anmonteiro 97c1bf2
chore: remove commented code
anmonteiro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,8 @@ module Cm_kind : sig | |
end | ||
end | ||
|
||
module Install : sig | ||
val dir : string | ||
end | ||
|
||
val js_basename : Module.t -> Filename.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Public
is handled differently than| Installed | Installed_private
which means that installation is going to be broken. I think forPublic
libraries you need to remove thesrc_dir
component. If a library is public, the user can't make assumptions as to where its located