-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bundle-* commands don't support the purs --output option #216
Comments
@stkb great catch! And yeah I agree with your analysis, we could either detect the I think adding adding an entry to |
Good points. This kinda opened up a can of worms 😃, but after having thought through all the options, I think it's fairly simple. Currently, args specified after There are however two If there's config option for the output dir in So it's then just detecting use of I guess I could have a go at this. |
zephyr reads from
would read from the output directory to create the bundle. |
Yes! These days we even sort-of-detect when the
|
All commands that perform a build now support the |
If you want your output dir as anything other than
/output
, then using this is fine:However this doesn't work...
...because although it compiles the .purs files into
outputDir
, It then runs thepurs bundle
command with "output" hardcoded:I guess the solution would be either to detect the --output/-o args passed to the purs compiler, or possibly to add an --output option to spago itself? An entry in
spago.dhall
would also be nice, if you're going that way.The text was updated successfully, but these errors were encountered: