Skip to content

How to work with development version #135

Answered by ellmetha
treagod asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! 👋

It really depends on what you are developing/testing, but usually there are two main ways to do it:

  1. You can symlink your local Marten repository as you already mentioned.
  2. You can keep the latest stable version of Marten referenced in the shard.yml file but at the same time you can define a shard.override.yml file in which you point to your development version of Marten:
# file: shard.override.yml
dependencies:
  marten:
    path: /path/to/marten

(This capability is also documented in the official shards documentation)

If you use (2) and then run shards install, your project will use the overridden shard instead of the version defined in the shard.yml file.

I also agree that the s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ellmetha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants