Open kwshi opened 4 years ago
The readme documents the compile.command option as follows:
compile.command
The full command to compile the entrypoint file, as a list, including the filename. This is run before the run command.
entrypoint
run
But examining several of the language configs under languages shows that "including the filename" is clearly not the case:
https://github.com/replit/polygott/blob/e1e8094737b702681b4ab4bd680ae2497a93b4b8/languages/haskell.toml#L11-L15
https://github.com/replit/polygott/blob/e1e8094737b702681b4ab4bd680ae2497a93b4b8/languages/c.toml#L24-L30
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.`
clang-7: error: no input files
ghc: no input files Usage: For basic information, try the
I think the wording is just off. I think it is referring to how the filename is part of the entrypoint list.
The readme documents the
compile.command
option as follows:But examining several of the language configs under languages shows that "including the filename" is clearly not the case:
https://github.com/replit/polygott/blob/e1e8094737b702681b4ab4bd680ae2497a93b4b8/languages/haskell.toml#L11-L15
https://github.com/replit/polygott/blob/e1e8094737b702681b4ab4bd680ae2497a93b4b8/languages/c.toml#L24-L30
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
orghc: no input files Usage: For basic information, try the
--help' option.`