I have a CodeIgniter PHP library that I maintain. I do not distribute all of the CI platform with the library. I only distribute the library files themselves. The thing is, the library files are scattered through the whole CI structure.
As it stands now I have a git repo that simply has nothing but the library files in it, so I do my code adjustments in a separate location where CI is fully installed and then I have to copy over to my "library only" version of the files to submit into Git. This makes the work flow cumbersome.
What I need to do is ignore everything in the CI structure so that it doesn't get tracked except for my library files, which consist of:
Everything else in the project should be ignored by Git. Any information on how I can accomplish this would be greatly appreciated. Thanks!