build, dist and mindist tasks