| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 |
<plist version="1.0"> |
| 4 |
<dict> |
| 5 |
<key>beforeRunningCommand</key> |
| 6 |
<string>nop</string> |
| 7 |
<key>bundleUUID</key> |
| 8 |
<string>255629A2-F227-467B-91B3-21D145908E78</string> |
| 9 |
<key>command</key> |
| 10 |
<string>#!/usr/bin/env ruby |
| 11 |
require 'rubygems' |
| 12 |
require 'appscript' |
| 13 |
include Appscript |
| 14 |
term = app("Terminal") |
| 15 |
term.activate |
| 16 |
term.do_script "cd #{ENV['TM_PROJECT_DIRECTORY']} && script/server; exit"</string> |
| 17 |
<key>input</key> |
| 18 |
<string>none</string> |
| 19 |
<key>name</key> |
| 20 |
<string>App server in terminal window</string> |
| 21 |
<key>output</key> |
| 22 |
<string>showAsTooltip</string> |
| 23 |
<key>uuid</key> |
| 24 |
<string>E5691206-A639-4536-989C-F227B9AB14B0</string> |
| 25 |
</dict> |
| 26 |
</plist> |