fpm new description in project README

Created on 3 Feb 2021  ยท  2Comments  ยท  Source: fortran-lang/fpm

Hi,

The README.md file, in the _master branch_, describes that with the option _new_ the files: fpm.toml, README.md, .gitignore, src/project_name.f90, app/main.f90 and test/main.f90 are built. However, in the _pre-release v0.1.3_ and the _master branch_, this option only generates the files: fpm.toml and README.md.

is the README.md file, in _master branch_, outdated?

bug fpm-haskell

All 2 comments

The README currently describes the behaviour of the Haskell version for bootstrapping Fortran fpm, rather than the behaviour of the actual Fortran implementation. The command line interfaces and the behaviour for the fpm new command unfortunately have diverged between those two version, which makes it more difficult to accurately describe the expected behaviour.

I think the README should reflect the behaviour of the Fortran fpm version rather than the Haskell version.

With Fortran fpm the command fpm new test_project produces:

test_project
โ”œโ”€โ”€ .git/
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ app
โ”‚ย ย  โ””โ”€โ”€ main.f90
โ”œโ”€โ”€ fpm.toml
โ”œโ”€โ”€ src
โ”‚ย ย  โ””โ”€โ”€ test_project.f90
โ””โ”€โ”€ test
    โ””โ”€โ”€ main.f90

While with Haskell fpm, no Fortran source is generated:

test_project
โ”œโ”€โ”€ .git/
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ fpm.toml

This seems to be a bug in the Haskell version than.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smeskos picture smeskos  ยท  7Comments

lauvergn picture lauvergn  ยท  7Comments

everythingfunctional picture everythingfunctional  ยท  8Comments

urbanjost picture urbanjost  ยท  9Comments

awvwgk picture awvwgk  ยท  9Comments