<@U6ZRNH0TC> could you please clarify what filedep...
# general
l
@aloof-angle-91616 could you please clarify what filedeps is used for?
a
./pants filedeps <targets>
prints all the files within the buildroot that are used as input for some target or set of targets
./pants fast-filedeps <targets>
does that faster, but has some missing functionality
l
ok thank you
Is it used internally for compiling a target?
a
./pants fast-filedeps
uses the new "v2 engine" (https://github.com/pantsbuild/pants/blob/master/src/python/pants/engine/README.md) which makes developing performant tasks much more fun!
h
*`./pants filedeps2`
☝️ 1
a
Is it used internally for compiling a target?
most pants "tasks" right now are using the v1 engine, which makes it more difficult than it needs to be for one task to depend on the output of another "task". for this reason, we don't currently have a lot of pants build logic split out into reusable pieces
the v2 engine allows you to do things like "depend on the output of another task, then do whatever you want, then maybe even call that task again"