Browse files

Added Execute folder. Moved related files to this folder.

  • Loading branch information...
1 parent a2f79cc commit 0f6cc2f682b79dcf92c0d3250d38c12900d7ae56 @cabeca committed May 2, 2012
View
23 Execute/execute-full.sublime-snippet
@@ -0,0 +1,23 @@
+<snippet>
+ <content><![CDATA[
+execute "${1:name}" do
+ action :${2:run}
+ command "${3:ls -la}"
+ creates "${4:/tmp/something}"
+ cwd "${5:/tmp}"
+ environment ({${6:'HOME' => '/home/myhome'}})
+ user "${7:root}"
+ group "${8:root}"
+ path "${9:['/opt/bin','/opt/sbin']}"
+ timeout ${10:3600}
+ returns ${11:0}
+ umask "${12:022}"
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>executef</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>execute full</description>
+</snippet>
View
4 execute-nothing.sublime-snippet → Execute/execute-nothing.sublime-snippet
@@ -1,8 +1,8 @@
<snippet>
<content><![CDATA[
execute "${1:name}" do
- command "${2:ls -la}"
- action :${4:nothing}
+ command "${2:ls -la}"
+ action :${3:nothing}
end
]]></content>
View
6 execute.sublime-snippet → Execute/execute.sublime-snippet
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
execute "${1:name}" do
- command "${2:ls -la}"
- creates "${3:/tmp/something}"
- action :${4:run}
+ command "${2:ls -la}"
+ creates "${3:/tmp/something}"
+ action :${4:run}
end
]]></content>

0 comments on commit 0f6cc2f

Please sign in to comment.