Skip to content

Commit

Permalink
Standardised indenting within recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
smithjw committed Sep 2, 2017
1 parent 02fd7c1 commit b02d040
Show file tree
Hide file tree
Showing 26 changed files with 1,507 additions and 1,507 deletions.
58 changes: 29 additions & 29 deletions Airtame/Airtame.download.recipe
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
<?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>Description</key>
<string>Downloads latest version of Airtame.</string>
<key>Identifier</key>
<string>com.github.smithjw.Airtame.download</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Airtame</string>
<key>DOWNLOAD_URL</key>
<string>https://airtame.com/download/mac</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>Process</key>
<array>
<key>Description</key>
<string>Downloads latest version of Airtame.</string>
<key>Identifier</key>
<string>com.github.smithjw.Airtame.download</string>
<key>Input</key>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<key>NAME</key>
<string>Airtame</string>
<key>DOWNLOAD_URL</key>
<string>https://airtame.com/download/mac</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>Process</key>
<array>
<dict>
<key>url</key>
<string>%DOWNLOAD_URL%</string>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%DOWNLOAD_URL%</string>
<key>filename</key>
<string>%NAME%.dmg</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>
136 changes: 68 additions & 68 deletions Airtame/Airtame.pkg.recipe
Original file line number Diff line number Diff line change
@@ -1,86 +1,86 @@
<?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>Description</key>
<string>Downloads the current release version of Airtame and creates a package.</string>
<key>Identifier</key>
<string>com.github.smithjw.pkg.Airtame</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Airtame</string>
</dict>
<key>MinimumVersion</key>
<string>1</string>
<key>ParentRecipe</key>
<string>com.github.smithjw.Airtame.download</string>
<key>Process</key>
<array>
<key>Description</key>
<string>Downloads the current release version of Airtame and creates a package.</string>
<key>Identifier</key>
<string>com.github.smithjw.pkg.Airtame</string>
<key>Input</key>
<dict>
<key>Processor</key>
<string>AppDmgVersioner</string>
<key>Arguments</key>
<key>NAME</key>
<string>Airtame</string>
</dict>
<key>MinimumVersion</key>
<string>1</string>
<key>ParentRecipe</key>
<string>com.github.smithjw.Airtame.download</string>
<key>Process</key>
<array>
<dict>
<key>dmg_path</key>
<string>%pathname%</string>
<key>Processor</key>
<string>AppDmgVersioner</string>
<key>Arguments</key>
<dict>
<key>dmg_path</key>
<string>%pathname%</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgRootCreator</string>
<key>Arguments</key>
<dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>pkgdirs</key>
<key>Processor</key>
<string>PkgRootCreator</string>
<key>Arguments</key>
<dict>
<key>Applications</key>
<string>0775</string>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
</dict>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Copier</string>
<key>Arguments</key>
<dict>
<key>source_path</key>
<string>%pathname%/Airtame.app</string>
<key>destination_path</key>
<string>%pkgroot%/Applications/Airtame.app</string>
<key>Processor</key>
<string>Copier</string>
<key>Arguments</key>
<dict>
<key>source_path</key>
<string>%pathname%/Airtame.app</string>
<key>destination_path</key>
<string>%pkgroot%/Applications/Airtame.app</string>
</dict>
</dict>
</dict>

<dict>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkgname</key>
<string>%NAME%-%version%</string>
<key>version</key>
<string>%version%</string>
<key>id</key>
<string>com.viscosity</string>
<key>options</key>
<string>purge_ds_store</string>
<key>chown</key>
<array>
<dict>
<key>path</key>
<string>Applications</string>
<key>user</key>
<string>root</string>
<key>group</key>
<string>admin</string>
</dict>
</array>
<key>pkg_request</key>
<dict>
<key>pkgname</key>
<string>%NAME%-%version%</string>
<key>version</key>
<string>%version%</string>
<key>id</key>
<string>com.viscosity</string>
<key>options</key>
<string>purge_ds_store</string>
<key>chown</key>
<array>
<dict>
<key>path</key>
<string>Applications</string>
<key>user</key>
<string>root</string>
<key>group</key>
<string>admin</string>
</dict>
</array>
</dict>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>
</array>
</dict>
</plist>
144 changes: 72 additions & 72 deletions Elgato/Thunderbolt 3 Dock Utility.download.recipe
Original file line number Diff line number Diff line change
@@ -1,85 +1,85 @@
<?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>Description</key>
<string>Downloads the current release version of the Thunderbolt 3 Dock Utility</string>
<key>Identifier</key>
<string>com.github.smithjw.download.Thunderbolt3DU</string>
<key>Input</key>
<dict>
<key>DOWNLOAD_URL</key>
<string>https://update.elgato.com/mac/thunderbolt-dock-update/download.php</string>
<key>NAME</key>
<string>Thunderbolt 3 Dock Utility</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>Process</key>
<array>
<key>Description</key>
<string>Downloads the current release version of the Thunderbolt 3 Dock Utility</string>
<key>Identifier</key>
<string>com.github.smithjw.download.Thunderbolt3DU</string>
<key>Input</key>
<dict>
<key>Arguments</key>
<key>DOWNLOAD_URL</key>
<string>https://update.elgato.com/mac/thunderbolt-dock-update/download.php</string>
<key>NAME</key>
<string>Thunderbolt 3 Dock Utility</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>Process</key>
<array>
<dict>
<key>filename</key>
<string>%NAME%.pkg</string>
<key>url</key>
<string>%DOWNLOAD_URL%</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.pkg</string>
<key>url</key>
<string>%DOWNLOAD_URL%</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
<key>Arguments</key>
<dict>
<key>flat_pkg_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/expand</string>
</dict>
</dict>
<dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
<key>Arguments</key>
<dict>
<key>flat_pkg_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/expand</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
<key>Arguments</key>
<dict>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/expand/ElgatoThunderboltDockUtility.pkg/Payload</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/expand/ElgatoThunderboltDockUtility.pkg/Payload</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/Applications/Elgato Thunderbolt Dock Utility.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCopier</string>
<key>Arguments</key>
<dict>
<key>source_pkg</key>
<string>%pathname%</string>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
</dict>
</dict>
</array>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/Applications/Elgato Thunderbolt Dock Utility.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCopier</string>
<key>Arguments</key>
<dict>
<key>source_pkg</key>
<string>%pathname%</string>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
</dict>
</dict>
</array>
</dict>
</plist>
Loading

0 comments on commit b02d040

Please sign in to comment.