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

Use fpm --list to generate targets #1

Open
everythingfunctional opened this issue Aug 26, 2021 · 0 comments
Open

Use fpm --list to generate targets #1

everythingfunctional opened this issue Aug 26, 2021 · 0 comments

Comments

@everythingfunctional
Copy link
Owner

Using the --list option should allow us to determine what targets are actually available and include them as available targets in the plugin, instead of having users specify the target they'd like to use in the Settings.

Relevant commands would be:

  • fpm run --list
  • fpm run --example --list
  • fpm test --list

If none are listed for a given command, don't provide any targets. If only one is listed, provide only a single target for that command without any additional description. If multiple are listed, provide an all target, as well as each individual one listed.

This has a (probably negative) side-effect that fpm (re)builds the project when these commands are executed. Maybe this should wait until fpm can be modified to not (re)build with these commands?

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

1 participant