dump build and cache dir to stdout