Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test needs to check rvm configuration too.

Fixed gem snippet.
  • Loading branch information...
commit fb8f9c6a3be85568a809f86cbcf8c165e8d5d7bb 1 parent 54fa7b2
@carlosbrando carlosbrando authored
View
7 Commands/Test All.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test</string>
<key>input</key>
<string>none</string>
View
7 Commands/Test Functionals.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:functionals</string>
<key>input</key>
<string>none</string>
View
7 Commands/Test Integration.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:integration</string>
<key>input</key>
<string>none</string>
View
7 Commands/Test Plugins.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:plugins</string>
<key>input</key>
<string>none</string>
View
7 Commands/Test Recent.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:recent</string>
<key>input</key>
<string>none</string>
View
7 Commands/Test Uncommitted.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:uncommitted</string>
<key>input</key>
<string>none</string>
View
7 Commands/Test Units.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>nop</string>
<key>command</key>
- <string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
+ <string>#!/usr/bin/env bash
+. "$TM_BUNDLE_SUPPORT/lib/rvm/rvm_textmate"
+
+RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:units</string>
<key>input</key>
<string>none</string>
View
2  Snippets/gem.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>gem '${1:name}'${2:${3:, "${4:1.0}"}${5:, :require =&gt; ${6:"${7:$1}"}${8:, :group =&gt; :${9:test}}}}</string>
+ <string>gem '${1:name}'${2:${3:, "${4:1.0}"}${5:${6:, :require =&gt; "${7:$1}"}${8:, :group =&gt; :${9:test}}}}</string>
<key>name</key>
<string>gem</string>
<key>scope</key>
Please sign in to comment.
Something went wrong with that request. Please try again.