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

Version Path
nake-0.1.1 examples/configuration.rb
nake-0.1 examples/configuration.rb
nake-0.0.9.5 examples/configuration.rb
nake-0.0.9.4 examples/configuration.rb
nake-0.0.9.3 examples/configuration.rb
nake-0.0.9.2 examples/configuration.rb
nake-0.0.9.pre examples/configuration.rb
do_riak-0.10.1.pre gems/gems/nake-0.0.8/examples/configuration.rb
nake-0.0.8.pre examples/configuration.rb
nake-0.0.8 examples/configuration.rb
nake-0.0.7 examples/configuration.rb
nake-0.0.6 examples/configuration.rb