This repository was archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
README documentation for compile command is inaccurate #167
Copy link
Copy link
Open
Description
The readme documents the compile.command option as follows:
The full command to compile the
entrypointfile, as a list, including the filename. This is run before theruncommand.
But examining several of the language configs under languages shows that "including the filename" is clearly not the case:
-
polygott/languages/haskell.toml
Lines 11 to 15 in e1e8094
command = [ "ghc", "-o", "main" ] -
Lines 24 to 30 in e1e8094
command = [ "clang-7", "-pthread", "-lm", "-o", "main" ]
None of these command lists actually include the entrypoint source file, and trying to run those commands in the terminal gives an error like clang-7: error: no input files or ghc: no input files Usage: For basic information, try the --help' option.`
Metadata
Metadata
Assignees
Labels
No labels