Sha256: a8a5c0d2e642ceeec6bd97c43ee82ff636e9dc0b5a1995185f6ec1bd6520de40

Contents?: true

Size: 608 Bytes

Versions: 12

Compression:

Stored size: 608 Bytes

Contents

#!/usr/bin/env ./bin/nake

# When you run rake without arguments, it will try to run task called default.
# Since I don't believe in any stupid convention, I don't support anything similar,
# because you can do it just using standard Ruby methods like Hash#default=(value)
# Of course the task which you are assigning as a default have to already exist,
# so you have to put this to the end of your file or you might want to use
# Hash#default_proc=(proc) as described in examples/default_proc.rb like:
# Task.tasks.default_proc = lambda { |*| Task[:build] }
Task.tasks.default = Nake.args["-T"] #Task["-T"]

Version data entries

12 entries across 12 versions & 2 rubygems

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