From 230a5feab2822064c95bd59e96def49dafc40fd3 Mon Sep 17 00:00:00 2001 From: Benzakhar Manashirov Date: Wed, 27 Jun 2018 13:29:39 -0400 Subject: [PATCH] dummy files not needed pod spec lint is passing without them --- cocoapods/NJSHeaderOnly.mm | 7 ------- cocoapods/NSJHeaderOnlyObjc.m | 5 ----- nlohmann_json.podspec | 4 +--- 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 cocoapods/NJSHeaderOnly.mm delete mode 100644 cocoapods/NSJHeaderOnlyObjc.m diff --git a/cocoapods/NJSHeaderOnly.mm b/cocoapods/NJSHeaderOnly.mm deleted file mode 100644 index b92186050..000000000 --- a/cocoapods/NJSHeaderOnly.mm +++ /dev/null @@ -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; -} \ No newline at end of file diff --git a/cocoapods/NSJHeaderOnlyObjc.m b/cocoapods/NSJHeaderOnlyObjc.m deleted file mode 100644 index 391624f06..000000000 --- a/cocoapods/NSJHeaderOnlyObjc.m +++ /dev/null @@ -1,5 +0,0 @@ -// cocoapods is weird we also need this. - -int NSJHeaderOnlyObjc() { - return 42; -} \ No newline at end of file diff --git a/nlohmann_json.podspec b/nlohmann_json.podspec index b56586a23..f0a347540 100644 --- a/nlohmann_json.podspec +++ b/nlohmann_json.podspec @@ -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"