https://pantsbuild.org/ logo
#general
Title
# general
s

silly-queen-7197

03/07/2023, 12:51 AM
Is there a way to exclude certain things from
./pants package ::
? I have a* couple binaries that are only used during development. My use case is we have a command that generates Argo Workflow yaml files from a simpler python DSL. The current expectation is for developers to commit the compiled yaml rather than have it compiled during CI. In this case its easier to specify what's not allowed vs what is
c

curved-television-6568

03/07/2023, 12:52 AM
if the targets are not interleaved with the ones you want to publish easiest would be to simply narrow down the
::
so it doesn’t include the paths with them.. otherwise excluding by tags could be an option
e

enough-analyst-54434

03/07/2023, 12:53 AM
You could just tag them and - the tag.
s

silly-queen-7197

03/07/2023, 12:53 AM
That should work, thanks
3 Views