jacobwilliams / csv-fortran

Read and Write CSV Files Using Modern Fortran
Other
99 stars 44 forks source link

[Package Manager] Add fpm support #12

Closed zoziha closed 3 years ago

zoziha commented 3 years ago

Added fpm support for fortran-csv-module:

  1. Added afpm.toml file;
  2. Added the build tutorial instructions in readme.md.

To use fortran-csv-module within a fpm project, just add the following to the fpm.toml file:

[dependencies]
fortran-csv-module = { git="https://github.com/jacobwilliams/fortran-csv-module.git" }

Fpm Test

Unfortunately, relative path files are used in the test programs. I didn't think of a proper way to handle the relationship between FoBis and fpm, so the fpm test capability was not added.

jacobwilliams commented 3 years ago

Thanks for doing this!

I think it got the tests working: fpm test works for me now.