Sha256: 0cb8f277a5cb36593ae5f50aaba2fbdd2db26ddcc4eb7cd6a56dc11f9c3fd60f
Contents?: true
Size: 907 Bytes
Versions: 38
Compression:
Stored size: 907 Bytes
Contents
require 'sprout' class <%= input.camel_case %> NAME = '<%= input.snake_case %>' module VERSION MAJOR = 0 MINOR = 0 TINY = 1 STRING = "#{MAJOR}.#{MINOR}.#{TINY}" end Sprout::Specification.new do |s| s.name = <%= input.camel_case %>::NAME s.version = <%= input.camel_case %>::VERSION::STRING # Create an independent remote_file_target for each # platform that must be supported independently. # # If the archive includes support for all platforms (:windows, :osx, :unix) # then set platform = :universal # s.add_remote_file_target do |t| t.platform = :universal t.archive_type = :zip t.url = "<%= url %>" t.md5 = "<%= md5 %>" # List all executables with their relative path within the # unpacked archive here: t.add_executable :<%= exe %>, "bin/<%= exe %>" end end end
Version data entries
38 entries across 38 versions & 1 rubygems