Open Unisay opened 1 year ago
I believe you pass in source globs like so:
purs compile "src/**/*.purs" ".spago/*/*/src/**/*.purs"
I believe you pass in source globs like so:
purs compile "src/**/*.purs" ".spago/*/*/src/**/*.purs"
Right, so this explains how to make a module available for the compiler.
The only remaining issue is the documentation referencing the non-existing purs build
command.
When user tries to compile source code files with a bare
purs
compiler she gets the following (expected) error:User navigates to the markdown error description mentioned in the error message and gets the following content:
This documentation does explain that compiler is unable to find a module from a library, but it doesn't explain how to fix the problem - how should a user tell the compiler where to find that library?
There is a mention of
purs build
command, that isn't there at all:command-line help for the
purs compile
command doesn't contain any clue on how to specify a path to a library:Actual result:
purs build
that isn't available.Desired result: