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

List names without suffix (mainly for Windows). #595

Merged
merged 1 commit into from Oct 16, 2021

Conversation

zoziha
Copy link
Contributor

@zoziha zoziha commented Oct 15, 2021

  • List names without suffix (mainly for Windows, very small update): suffix=.false.

Description

In Windows, the previous fpm program running fpm test --list (same as fpm run --example --list) will have the suffix:

 Matched names:
cli-test.exe   fpm-test.exe   help-test.exe  new-test.exe

When I want to query and test cli-test, I hope it is cli-test instead of cli-test.exe, so that I can just copy and paste, such as:
fpm test cli-test instead of fpm test cli-test.exe.

Current effect

 Matched names:
cli-test       fpm-test       help-test      new-test  

Because this is an update for Windows, another way is to add a current system judgment here, is it worth it?

Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sharing. Looks good to me.

@awvwgk awvwgk merged commit beeb481 into fortran-lang:main Oct 16, 2021
@zoziha zoziha deleted the update_list_names branch October 17, 2021 02:39
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

Successfully merging this pull request may close these issues.

None yet

2 participants