dummy files not needed pod spec lint is passing without them

This commit is contained in:
Benzakhar Manashirov 2018-06-27 13:29:39 -04:00
parent 2909c26a55
commit 230a5feab2
3 changed files with 1 additions and 15 deletions

View File

@ -1,7 +0,0 @@
// We need this file to please cocoapods as cocoapods
// doesn't support pure C++ libraries. We need mm so
// cocoapods enables Objective-C++
int NJSHeaderOnly() {
return 42;
}

View File

@ -1,5 +0,0 @@
// cocoapods is weird we also need this.
int NSJHeaderOnlyObjc() {
return 42;
}

View File

@ -96,9 +96,7 @@ Pod::Spec.new do |s|
# Not including the public_header_files will make all headers public.
#
s.source_files = "cocoapods/**/*.{h,m,mm}", "single_include/**/*.hpp"
s.exclude_files = "Classes/Exclude"
s.source_files = "single_include/**/*.hpp"
s.public_header_files = "single_include/nlohmann/json.hpp"