Best Practices for Multiple Runs #180
Unanswered
jwriteclub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As I've been experimenting with Crystal, I've noticed two challenges (neither are problems with Crystal per-se, but with using it):
While I can certainly have the "build" script install, this seems somewhat wasteful, and it probably makes more sense. For the go.work and port I don't know that there's an easy solution. I've built a little script that uses a file in a well known location to recreate these, and I can set it as the build script and it seems to get reliably run when a new worktree is created (so I can use a counter in the well known file to get the "next" port, so each instance has a private set of ports for testing).
I wonder if anyone else has faced these issues and if there's any best practices for this kind of environment setup stuff?
Beta Was this translation helpful? Give feedback.
All reactions