Use gitignore to exclude files from build