I left the directory structure as is. So I needed to tell SPM where to look
Also the public headers are needed within the sources directory. That is why I created the include subdir and symlinks for the headers
GRMustache.h could not be used as public header, since SPM will assume it to be an umbrella header (which it is not). Therefore I named the symlink file GRMustacheService.h. When using this library in ObjC, you would then need to import it like this: "@import GRMustache;". This avoids the need for having to manually maintain a real umbrella header.
Since the master branch uses a version without ARC, I had to add "-fno-objc-arc" as unsafe flag.
In order to use it, for now you would have to define the master branch as "version" in SPM. Also the documentation should be updated on how to use this, but I would suggest to do this only with the next "official" release.
I created a commit that introduces SPM support.
There are a few things to notice:
In order to use it, for now you would have to define the master branch as "version" in SPM. Also the documentation should be updated on how to use this, but I would suggest to do this only with the next "official" release.