Why doesn't the C99 backend place the resulting C code in the same directory as the original spec? #655
ivanperez-keera
started this conversation in
General
Replies: 1 comment
-
I don't have a particularly strong opinion about what the default behavior should be, so I'm open to changing it. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I find it a bit frustrating that I cannot compile a Copilot spec from wherever and I have to move the resulting files to where the original spec is. While I can modify the spec to specify a directory, I cannot modify the spec to mean "in the same directory where the spec is".
As a common user of sandboxes, my scenario is the following:
~/copilot
, locally using sandboxes.~/ogma
, locally using sandboxes.~/copilot/.cabal-sandbox
, or dorunhaskell
from~/copilot
and move the resultingcopilot{.c,.h,_types.h}
to the cFS application directory.I would have preferred to have the generated files be in the same directory as the spec, so that I could cd into
~/copilot
and justrunhaskell
of the Copilot spec file, wherever it it.Beta Was this translation helpful? Give feedback.
All reactions