Skip to content

Commit

Permalink
Added interpreter to script resource and checksum to remote resource
Browse files Browse the repository at this point in the history
  • Loading branch information
johntdyer committed Mar 4, 2012
1 parent 2fa86f4 commit 26b6546
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Snippets/remote.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 4 additions & 3 deletions Snippets/script.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 26b6546

Please sign in to comment.