Add public to gitignore, use generate instead.