annotate resources/MacOSX/BelaPdBuild.app/Contents/document.wflow @ 548:3980b707634d prerelease

Added makefile command line options
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 24 Jun 2016 04:49:40 +0100
parents b2e69b701588
children
rev   line source
giuliomoro@207 1 <?xml version="1.0" encoding="UTF-8"?>
giuliomoro@207 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
giuliomoro@207 3 <plist version="1.0">
giuliomoro@207 4 <dict>
giuliomoro@207 5 <key>AMApplicationBuild</key>
giuliomoro@207 6 <string>419</string>
giuliomoro@207 7 <key>AMApplicationVersion</key>
giuliomoro@207 8 <string>2.6</string>
giuliomoro@207 9 <key>AMDocumentVersion</key>
giuliomoro@207 10 <string>2</string>
giuliomoro@207 11 <key>actions</key>
giuliomoro@207 12 <array>
giuliomoro@207 13 <dict>
giuliomoro@207 14 <key>action</key>
giuliomoro@207 15 <dict>
giuliomoro@207 16 <key>AMAccepts</key>
giuliomoro@207 17 <dict>
giuliomoro@207 18 <key>Container</key>
giuliomoro@207 19 <string>List</string>
giuliomoro@207 20 <key>Optional</key>
giuliomoro@207 21 <true/>
giuliomoro@207 22 <key>Types</key>
giuliomoro@207 23 <array>
giuliomoro@207 24 <string>com.apple.applescript.object</string>
giuliomoro@207 25 </array>
giuliomoro@207 26 </dict>
giuliomoro@207 27 <key>AMActionVersion</key>
giuliomoro@207 28 <string>1.0.2</string>
giuliomoro@207 29 <key>AMApplication</key>
giuliomoro@207 30 <array>
giuliomoro@207 31 <string>Automator</string>
giuliomoro@207 32 </array>
giuliomoro@207 33 <key>AMParameterProperties</key>
giuliomoro@207 34 <dict>
giuliomoro@207 35 <key>source</key>
giuliomoro@207 36 <dict/>
giuliomoro@207 37 </dict>
giuliomoro@207 38 <key>AMProvides</key>
giuliomoro@207 39 <dict>
giuliomoro@207 40 <key>Container</key>
giuliomoro@207 41 <string>List</string>
giuliomoro@207 42 <key>Types</key>
giuliomoro@207 43 <array>
giuliomoro@207 44 <string>com.apple.applescript.object</string>
giuliomoro@207 45 </array>
giuliomoro@207 46 </dict>
giuliomoro@207 47 <key>ActionBundlePath</key>
giuliomoro@207 48 <string>/System/Library/Automator/Run AppleScript.action</string>
giuliomoro@207 49 <key>ActionName</key>
giuliomoro@207 50 <string>Run AppleScript</string>
giuliomoro@207 51 <key>ActionParameters</key>
giuliomoro@207 52 <dict>
giuliomoro@207 53 <key>source</key>
giuliomoro@207 54 <string>on run {input, parameters}
giuliomoro@207 55 if input is equal to {} then
giuliomoro@207 56 display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto the program icon to compile it with Heavy."
giuliomoro@207 57 else
giuliomoro@207 58 tell application "Terminal"
giuliomoro@207 59 activate
giuliomoro@207 60 do script "echo -n -e \"\\033]0;Building Heavy-Pd-Bela\\007\"; export BBB_ADDRESS=\"root@192.168.7.2\"; export BBB_SCRIPTS_PATH=\"" &amp; POSIX path of ((path to me as text) &amp; "::") &amp; "../../scripts/\"; export SCRIPT_NAME=\"build_pd.sh\"; bash -c 'cd \"$BBB_SCRIPTS_PATH\"; ./\"$SCRIPT_NAME\" --watch --force --screen -i " &amp; quoted form of (POSIX path of input) &amp; "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi"
giuliomoro@207 61 end tell
giuliomoro@207 62 -- tell application "Terminal" to quit
giuliomoro@207 63 end if
giuliomoro@207 64 -- return input
giuliomoro@207 65 end run</string>
giuliomoro@207 66 </dict>
giuliomoro@207 67 <key>BundleIdentifier</key>
giuliomoro@207 68 <string>com.apple.Automator.RunScript</string>
giuliomoro@207 69 <key>CFBundleVersion</key>
giuliomoro@207 70 <string>1.0.2</string>
giuliomoro@207 71 <key>CanShowSelectedItemsWhenRun</key>
giuliomoro@207 72 <false/>
giuliomoro@207 73 <key>CanShowWhenRun</key>
giuliomoro@207 74 <true/>
giuliomoro@207 75 <key>Category</key>
giuliomoro@207 76 <array>
giuliomoro@207 77 <string>AMCategoryUtilities</string>
giuliomoro@207 78 </array>
giuliomoro@207 79 <key>Class Name</key>
giuliomoro@207 80 <string>RunScriptAction</string>
giuliomoro@207 81 <key>InputUUID</key>
giuliomoro@207 82 <string>EF92A55A-EBA7-413C-BD41-79E5A684A273</string>
giuliomoro@207 83 <key>Keywords</key>
giuliomoro@207 84 <array>
giuliomoro@207 85 <string>Run</string>
giuliomoro@207 86 </array>
giuliomoro@207 87 <key>OutputUUID</key>
giuliomoro@207 88 <string>6D9DB3CD-C949-4256-847F-664D5EBC5EB9</string>
giuliomoro@207 89 <key>UUID</key>
giuliomoro@207 90 <string>3E1C4D48-C87F-4325-A94B-AAC1E334B30D</string>
giuliomoro@207 91 <key>UnlocalizedApplications</key>
giuliomoro@207 92 <array>
giuliomoro@207 93 <string>Automator</string>
giuliomoro@207 94 </array>
giuliomoro@207 95 <key>arguments</key>
giuliomoro@207 96 <dict>
giuliomoro@207 97 <key>0</key>
giuliomoro@207 98 <dict>
giuliomoro@207 99 <key>default value</key>
giuliomoro@207 100 <string>on run {input, parameters}
giuliomoro@207 101
giuliomoro@207 102 (* Your script goes here *)
giuliomoro@207 103
giuliomoro@207 104 return input
giuliomoro@207 105 end run</string>
giuliomoro@207 106 <key>name</key>
giuliomoro@207 107 <string>source</string>
giuliomoro@207 108 <key>required</key>
giuliomoro@207 109 <string>0</string>
giuliomoro@207 110 <key>type</key>
giuliomoro@207 111 <string>0</string>
giuliomoro@207 112 <key>uuid</key>
giuliomoro@207 113 <string>0</string>
giuliomoro@207 114 </dict>
giuliomoro@207 115 </dict>
giuliomoro@207 116 <key>isViewVisible</key>
giuliomoro@207 117 <true/>
giuliomoro@207 118 <key>location</key>
giuliomoro@207 119 <string>411.500000:531.000000</string>
giuliomoro@207 120 <key>nibPath</key>
giuliomoro@207 121 <string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string>
giuliomoro@207 122 </dict>
giuliomoro@207 123 <key>isViewVisible</key>
giuliomoro@207 124 <true/>
giuliomoro@207 125 </dict>
giuliomoro@207 126 </array>
giuliomoro@207 127 <key>connectors</key>
giuliomoro@207 128 <dict/>
giuliomoro@207 129 <key>workflowMetaData</key>
giuliomoro@207 130 <dict>
giuliomoro@207 131 <key>workflowTypeIdentifier</key>
giuliomoro@207 132 <string>com.apple.Automator.application</string>
giuliomoro@207 133 </dict>
giuliomoro@207 134 </dict>
giuliomoro@207 135 </plist>