FACE icon indicating copy to clipboard operation
FACE copied to clipboard

Incompatibility of fpm.toml with fpm 0.8.1

Open jalvesz opened this issue 1 year ago • 2 comments

Hi, I was testing this library together with VTKFortran and the latest fpm. I had a compile time issue with the tests declaration because of the white space:

From https://github.com/szaghi/FACE

  • branch 3bdabbc7f24843ddde8b3afd1f17c325e8e215c9 -> FETCH_HEAD <ERROR>cmd_run Model error: error: Missing key for table header --> build\dependencies\FACE\fpm.toml:19:3 | 19 | [[ test ]] | ^ unexpected whitespace | STOP 1

By simply changing [[ test ]] for [[test]] (no white spaces) everything goes fine

jalvesz avatar Apr 18 '23 11:04 jalvesz

@jalvesz

Thank you very much for pointing it out, it is really appreciated.

I do not use fpm, thus I cannot directly help you. In particular, it is not clear for me if this formatting-issue is related to only a new version of fpm or if it is really a bad-formatted toml file. Surely you are more familiar with fpm than me: feel free to create a pull request to patch the toml file if it is the problem.

Kind regards, Stefano

szaghi avatar Apr 18 '23 12:04 szaghi