-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into homebysix_patch
- Loading branch information
Showing
10 changed files
with
111 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# plistyamlplist Change Log | ||
|
||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
|
||
## v0.1 - 2020-03-06 - v0.1 | ||
|
||
- Initial Release (though the tool has been around for some time). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
CURDIR := $(shell pwd) | ||
MUNKIPKG := /usr/local/bin/munkipkg | ||
PKG_ROOT := $(CURDIR)/pkg/plistyamlplist/payload | ||
PKG_BUILD := $(CURDIR)/pkg/plistyamlplist/build | ||
PKG_VERSION := $(shell defaults read $(CURDIR)/pkg/jss_helper/build-info.plist version) | ||
|
||
objects = $(PKG_ROOT)/usr/local/bin/plistyamlplist \ | ||
$(PKG_ROOT)/usr/local/bin/plistyamlplist_lib | ||
|
||
|
||
default : $(PKG_BUILD)/plistyamlplist-$(PKG_VERSION).pkg | ||
@echo "Building plistyamlplist pkg" | ||
|
||
|
||
$(PKG_BUILD)/plistyamlplist-$(PKG_VERSION).pkg: $(objects) | ||
cd $(CURDIR)/pkg && $(MUNKIPKG) plistyamlplist | ||
|
||
|
||
$(PKG_ROOT)/usr/local/bin/plistyamlplist: | ||
@echo "Copying plistyamlplist into /usr/local/bin" | ||
mkdir -p "$(PKG_ROOT)/usr/local/bin" | ||
cp "$(CURDIR)/plistyamlplist.py" "$(PKG_ROOT)/usr/local/bin/plistyamlplist" | ||
chmod 755 "$(PKG_ROOT)/usr/local/bin/plistyamlplist" | ||
|
||
|
||
$(PKG_ROOT)/usr/local/bin/plistyamlplist_lib: | ||
@echo "Copying plistyamlplist_lib into /usr/local/bin" | ||
cp -Rf "$(CURDIR)/plistyamlplist_lib" "$(PKG_ROOT)/usr/local/bin/plistyamlplist_lib" | ||
|
||
.PHONY : clean | ||
clean : | ||
@echo "Cleaning up package root" | ||
rm "$(PKG_ROOT)/usr/local/bin/plistyamlplist" ||: | ||
rm -rf "$(PKG_ROOT)/usr/local/bin/plistyamlplist_lib" ||: | ||
rm $(CURDIR)/pkg/plistyamlplist/build/*.pkg ||: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# .DS_Store files! | ||
.DS_Store | ||
|
||
# our build directory | ||
build/ | ||
|
||
# package products | ||
payload/usr/local/bin/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
. 40755 0/0 | ||
./usr 41775 0/80 | ||
./usr/local 40755 0/80 | ||
./usr/local/bin 40755 0/80 | ||
./usr/local/bin/plistyamlplist_lib 40755 0/80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>distribution_style</key> | ||
<false/> | ||
<key>identifier</key> | ||
<string>com.github.grahampugh.plistyamlplist</string> | ||
<key>install_location</key> | ||
<string>/</string> | ||
<key>name</key> | ||
<string>plistyamlplist-${version}.pkg</string> | ||
<key>ownership</key> | ||
<string>recommended</string> | ||
<key>postinstall_action</key> | ||
<string>none</string> | ||
<key>suppress_bundle_relocation</key> | ||
<true/> | ||
<key>version</key> | ||
<string>0.1</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters