Skip to content

Commit

Permalink
Initial commit of podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Jul 11, 2015
1 parent 0f5f38e commit 7e761d4
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
22 changes: 22 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# BSD License
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Sveinbjorn Thordarson nor that of any other
# contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
F4F1037B1B515A1C00BCAD40 /* STPrivilegedTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = STPrivilegedTask.m; path = ../../STPrivilegedTask.m; sourceTree = "<group>"; };
F4F1037E1B51664C00BCAD40 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../../README.md; sourceTree = "<group>"; };
F4F1037F1B5166CF00BCAD40 /* lock-icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "lock-icon.icns"; sourceTree = "<group>"; };
F4F103811B516A3500BCAD40 /* STPrivilegedTask.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; name = STPrivilegedTask.podspec; path = ../../STPrivilegedTask.podspec; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -72,6 +73,7 @@
isa = PBXGroup;
children = (
F4F1037E1B51664C00BCAD40 /* README.md */,
F4F103811B516A3500BCAD40 /* STPrivilegedTask.podspec */,
F4F1037A1B515A1C00BCAD40 /* STPrivilegedTask.h */,
F4F1037B1B515A1C00BCAD40 /* STPrivilegedTask.m */,
);
Expand Down
16 changes: 16 additions & 0 deletions STPrivilegedTask.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Pod::Spec.new do |s|
s.name = "STPrivilegedTask"
s.version = "1.0.0"
s.summary = "An NSTask-like wrapper around Mac OS X Security Framework's AuthorizationExecuteWithPrivileges()"
s.description = "An NSTask-like wrapper around AuthorizationExecuteWithPrivileges() in the Security API to run shell commands with root privileges in Mac OS X."
s.homepage = "http://github.com/sveinbjornt/STPrivilegedTask"
s.license = { :type => 'BSD' }
s.author = { "Sveinbjorn Thordarson" => "sveinbjornt@gmail.com" }
s.osx.deployment_target = "10.6"
s.source = { :git => "https://github.com/sveinbjornt/STPrivilegedTask.git", :tag => "1.0.0" }
s.source_files = "STPrivilegedTask.{h,m}"
s.exclude_files = "PrivilegedTaskExample"
s.public_header_files = "STPrivilegedTask.h"
s.framework = "Security"
s.requires_arc = false
end

0 comments on commit 7e761d4

Please sign in to comment.