toodles
toodles copied to clipboard
How does your develop-test cycle work?
I installed toodles globally, via cabal. Then I filed a bunch of issues, and felt like I ought to try contributing, so I cloned the source and made a tiny change (started to subdivide the code into modules, beginning by moving the types and instances to a separate file), and realized I don't know how to try out my changes.
I tried using "stack run toodles", and it works, but it scans the toodles folder. I'd like it to scan a different folder, but I can't figure out how to pass in the --directory=
argument.
Should I remove that global installation, and run "stack install toodles" every time I want to try a changed version?
Awesome that you'd like to contribute 😀. My workflow doesn't interfere with any global toodles installation, so you can leave that as is.
My workflow:
- Make some changes
-
stack build --fast && stack exec toodles -- -d <directory>
Any args you want to pass to the end binary with stack goes after the--
, which seems like the key piece of info you needed - repeat
Nice!
On Mon, Oct 29, 2018 at 6:34 PM Avi Press [email protected] wrote:
Awesome that you'd like to contribute 😀. My workflow doesn't interfere with any global toodles installation, so you can leave that as is.
My workflow:
- Make some changes
- stack build --fast && stack exec toodles -- -d
Any args you want to pass to the end binary with stack goes after the --, which seems like the key piece of info you needed - repeat
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aviaviavi/toodles/issues/36#issuecomment-434119014, or mute the thread https://github.com/notifications/unsubscribe-auth/AIfQT_akJ94RamRO-dGMM7XwnkMK-lkuks5up5BogaJpZM4YA1Qt .
-- Jeff Brown | Jeffrey Benjamin Brown Website https://msu.edu/~brown202/ | Facebook https://www.facebook.com/mejeff.younotjeff | LinkedIn https://www.linkedin.com/in/jeffreybenjaminbrown(spammy, so I often miss messages here) | Github https://github.com/jeffreybenjaminbrown