# plugins


05/17/2022, 8:08 PM
So in trying to re-write things to work with engine v2, I have a new target type with the right fields that match up to the BUILD file that we have for the c++ code. I'm struggling to get pants to recognize that it should use a new rule if we have the custom target type defined in a build file that's under the scope of targets to run the pants goal on. Everything I've seen so far is how to tie targets into new goal rules, but I'm not wanting to specify a new goal, just want to get the test goal to recognize that it needs to call a custom function