polygott icon indicating copy to clipboard operation
polygott copied to clipboard

README documentation for compile command is inaccurate

Open kwshi opened this issue 4 years ago • 1 comments

The readme documents the compile.command option as follows:

The full command to compile the entrypoint file, as a list, including the filename. This is run before the run command.

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.`

kwshi avatar Aug 30 '20 04:08 kwshi

I think the wording is just off. I think it is referring to how the filename is part of the entrypoint list.

alexapostolu avatar May 07 '21 17:05 alexapostolu