clean public/patterns before build

closes #7