adding gitignore file to library directory