Prune exe/tests dependencies