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

discuss: how to manage inter-chapter dependencies? #54

Open
gvwilson opened this issue Apr 10, 2024 · 1 comment
Open

discuss: how to manage inter-chapter dependencies? #54

gvwilson opened this issue Apr 10, 2024 · 1 comment
Labels
discuss An issue or PR currently being discussed help-wanted A request for assistance

Comments

@gvwilson
Copy link
Collaborator

Following on from #46: how should dependencies between chapters be managed? I.e., if Chapter B uses code developed in Chapter A, how should Chapter A be structured and how should Chapter B get what it needs? Please add comments to this issue with thoughts and proposals.

@gvwilson gvwilson added help-wanted A request for assistance discuss An issue or PR currently being discussed labels Apr 10, 2024
@Anton-4
Copy link
Collaborator

Anton-4 commented Apr 12, 2024

Before publishing I think we should use paths to refer to packages in other chapters like here. All other approaches seem worse in the complexity vs benefit trade-off.

For publishing of any final code with inter-chapter dependencies, I would put the imported package on an URL using a github release asset. This makes the chapter code self-contained, and it is also the standard workflow for publishing Roc packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss An issue or PR currently being discussed help-wanted A request for assistance
Projects
None yet
Development

No branches or pull requests

2 participants