Sha256: f0488f6e62df5ce931929fbb87de4682adab60eeaedb5ee1378a933dc9d58d48

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

#############################################################################
helpers 'linecook/shell'
helpers 'linebook/<%= project_name %>'
attributes '<%= project_name %>'
#############################################################################

shebang '/bin/bash'

# Write to the script target using 'script'
target.puts '# An example script.'

# Helpers are now available, as are attributes.
echo *attrs['<%= project_name %>']['letters']
echo *attrs['<%= project_name %>']['numbers']

# Use files like this:
cat file_path('file.txt')

# Use templates like this:
cat template_path('template.txt', :n => 10)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linecook-0.6.2 templates/recipes/project_name.rb