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

steep check target selection #978

Open
lloeki opened this issue Dec 7, 2023 · 1 comment
Open

steep check target selection #978

lloeki opened this issue Dec 7, 2023 · 1 comment
Labels
area/frontend Issues related to the tool frontend

Comments

@lloeki
Copy link
Contributor

lloeki commented Dec 7, 2023

Lately I've been wishing steep check would allow one to select the targets to check:

target :lib do
  signature 'sig'
  check 'lib'
end

target :test, default: false do
  signature 'sig'
  signature 'test/sig'
  library 'minitest'
  check 'test'
end

With:

# checks only `default: true` targets, so just `:lib`
steep check 
# checks just `:lib`
steep check --target lib
# checks just `:test`
steep check --target test
# checks both
steep check --target test --target lib

You get the idea.

@soutaro soutaro added the area/frontend Issues related to the tool frontend label Dec 11, 2023
@soutaro
Copy link
Owner

soutaro commented Dec 11, 2023

👍 This totally makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Issues related to the tool frontend
Projects
None yet
Development

No branches or pull requests

2 participants