Skip to content
Browse files

Added interpreter to script resource and checksum to remote resource

  • Loading branch information...
1 parent 2fa86f4 commit 26b6546a5cf56f90a9ff30e25b816859b69acd4f @johntdyer johntdyer committed Mar 4, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −0 Snippets/remote.tmSnippet
  2. +4 −3 Snippets/script.tmSnippet
View
1 Snippets/remote.tmSnippet
@@ -7,6 +7,7 @@
source "${2:http://myfile}"
owner "${3:root}"
group "${4:$3}"
+ checksum "${5:abc123}"
end</string>
<key>name</key>
<string>remote</string>
View
7 Snippets/script.tmSnippet
@@ -4,10 +4,11 @@
<dict>
<key>content</key>
<string>script "${1:desc}" do
- user "${2:root}"
- cwd "${3:/tmp}"
+ interpreter "${2:bash}"
+ user "${3:root}"
+ cwd "${4:/tmp}"
code &lt;&lt;-EOF
- ${4:script commands}
+ ${5:script commands}
EOF
end
</string>

0 comments on commit 26b6546

Please sign in to comment.
Something went wrong with that request. Please try again.