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

[question] Is there negative a pattern for conan install --deployer-package? #17773

Open
1 task done
DmitrySokolov opened this issue Feb 13, 2025 · 1 comment
Open
1 task done
Assignees

Comments

@DmitrySokolov
Copy link

What is your question?

Is it possible to deploy all packages except one

conan install ... --deployer-package=* --deployer-package=!pkg1/*

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded memsharded self-assigned this Feb 13, 2025
@memsharded
Copy link
Member

Yes, just checked it, internally it does:

    if deploy_package:
        # Similar processing as BuildMode class
        excluded = [p[1:] for p in deploy_package if p[0] in ["!", "~"]]
        included = [p for p in deploy_package if p[0] not in ["!", "~"]]

It seems the ~ syntax is preferred, as it is less problematic in terminal syntax escaping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants