Sha256: 7bd662f535421808ad822faba194489aeeb2915ea1ca741ec9ce943daeb1deaa

Contents?: true

Size: 578 Bytes

Versions: 6

Compression:

Stored size: 578 Bytes

Contents

#!./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 = Task["-T"]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nake-0.0.5 examples/default.rb
nake-0.0.3 examples/default.rb
nake-0.0.3.pre examples/default.rb
nake-0.0.2 examples/default.rb
nake-0.0.2.pre examples/default.rb
nake-0.0.1 examples/default.rb