Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fpm new description in project README #9

Open
aslozada opened this issue Feb 3, 2021 · 2 comments
Open

fpm new description in project README #9

aslozada opened this issue Feb 3, 2021 · 2 comments

Comments

@aslozada
Copy link
Member

aslozada commented Feb 3, 2021

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?

@awvwgk
Copy link
Member

awvwgk commented Feb 3, 2021

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.

@awvwgk
Copy link
Member

awvwgk commented Feb 3, 2021

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.

@awvwgk awvwgk transferred this issue from fortran-lang/fpm Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants