mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
<?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>beforeRunningCommand</key>
|
|
<string>saveModifiedFiles</string>
|
|
<key>command</key>
|
|
<string>#!/usr/bin/env ruby18 -wKU
|
|
require "#{ENV["TM_SUPPORT_PATH"]}/lib/tm/save_current_document"
|
|
require "#{ENV["TM_SUPPORT_PATH"]}/lib/tm/executor"
|
|
require "#{ENV["TM_SUPPORT_PATH"]}/lib/escape"
|
|
|
|
TextMate.save_if_untitled('hs')
|
|
|
|
haskell = e_sh(ENV['TM_HASKELL'] || 'runhaskell')
|
|
TextMate::Executor.run(haskell, ENV['TM_FILEPATH'])
|
|
</string>
|
|
<key>input</key>
|
|
<string>document</string>
|
|
<key>inputFormat</key>
|
|
<string>text</string>
|
|
<key>keyEquivalent</key>
|
|
<string>@r</string>
|
|
<key>name</key>
|
|
<string>Run</string>
|
|
<key>outputCaret</key>
|
|
<string>afterOutput</string>
|
|
<key>outputFormat</key>
|
|
<string>html</string>
|
|
<key>outputLocation</key>
|
|
<string>newWindow</string>
|
|
<key>requiredCommands</key>
|
|
<array>
|
|
<dict>
|
|
<key>command</key>
|
|
<string>runhaskell</string>
|
|
<key>locations</key>
|
|
<array>
|
|
<string>/opt/local/bin/runhugs</string>
|
|
<string>/usr/local/bin/runhaskell</string>
|
|
</array>
|
|
<key>variable</key>
|
|
<string>TM_HASKELL</string>
|
|
</dict>
|
|
</array>
|
|
<key>scope</key>
|
|
<string>source.haskell</string>
|
|
<key>semanticClass</key>
|
|
<string>process.run.script.haskell</string>
|
|
<key>uuid</key>
|
|
<string>3B083BE7-9812-4F06-A758-CCAD9514E797</string>
|
|
<key>version</key>
|
|
<integer>2</integer>
|
|
</dict>
|
|
</plist>
|