Back
Close

Introduction to Reason Compilation

[CG]Nick
2,804 views

5 - Preparation for Third-Party Dependencies

In preparation for the next step (third-party dependencies!), it'd be nice to have a unified folder for the built artifacts, so that we:

  • don't pollute third-party with intermediate compilation artifacts alongside their source code
  • can easily remove all artifacts by deleting a single folder

Additionally, we'll expand the naive compilation in run.sh into something slightly more sophisticated, and make the corresponding changes in .merlin.

"Run"
print_endline MyDep.secret;
print_endline MyDep2.secret;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants