summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-02-13 13:05:41 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-02-13 13:05:41 -0800
commit44c251fbc370246f6c73e40c5242248c670a2750 (patch)
tree67878922537345695b884c8f05d843de3451f9d9
parent607e46f2098487736f86197d9c017273f7302e75 (diff)
parentb709f15d187ad80f863a33fdaee48e38649922ae (diff)
Merge pull request #85 from igagis/master
scripts: Add CocoaPods package
-rw-r--r--LICENSE22
-rw-r--r--scripts/pugixml.podspec37
-rwxr-xr-xscripts/push_to_cocoapods.sh4
3 files changed, 63 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ec0ce99
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2006-2015 Arseny Kapoulkine
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
diff --git a/scripts/pugixml.podspec b/scripts/pugixml.podspec
new file mode 100644
index 0000000..22ef490
--- /dev/null
+++ b/scripts/pugixml.podspec
@@ -0,0 +1,37 @@
+Pod::Spec.new do |s|
+ s.name = "pugixml"
+ s.version = "1.7"
+ s.summary = "C++ XML parser library."
+ s.homepage = "http://pugixml.org"
+ s.license = { :type => 'MIT', :text => <<-qwertyuiop
+The MIT License (MIT)
+
+Copyright (c) 2006-2015 Arseny Kapoulkine
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+qwertyuiop
+}
+ s.author = { "Arseny Kapoulkine" => "arseny.kapoulkine@gmail.com" }
+ s.platform = :ios, "7.0"
+
+ s.source = { :git => "https://github.com/zeux/pugixml.git", :tag => "v" + s.version.to_s }
+
+ s.source_files = "src/**/*.{hpp,cpp}"
+ s.header_mappings_dir = "src"
+end
diff --git a/scripts/push_to_cocoapods.sh b/scripts/push_to_cocoapods.sh
new file mode 100755
index 0000000..d582ea4
--- /dev/null
+++ b/scripts/push_to_cocoapods.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+#Push to igagis repo for now
+pod repo push igagis pugixml.podspec --use-libraries --verbose