Sha256: bd7e054d5766ba7d8d985be78ac9e015a5f287c5e68f8478283acba7b25d787a
Contents?: true
Size: 328 Bytes
Versions: 12
Compression:
Stored size: 328 Bytes
Contents
#!/usr/bin/env ./bin/nake # this will be probably in a library Task.new(:build) do |task| task.define do sh "gem build #{task.config[:gemspec]}" end end # and this in your file with tasks Task[:build].config[:gemspec] = "nake.gemspec" # if the task isn't defined yet task(:mytask) Task[:mytask].config[:name] = "foo"
Version data entries
12 entries across 12 versions & 2 rubygems