Sha256: 475a7e1ab0a833c54128127591624a4d114ca64ced98d5c9ecb431e3c555f820

Contents?: true

Size: 537 Bytes

Versions: 10

Compression:

Stored size: 537 Bytes

Contents

desc "Simple task"
task :simple do
  puts "Hello World!"
end

desc "Namespaced task"
task "a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z" do
  # do nothing
end

desc "Task with arguments"
task :arguments

desc "Task with dependencies"
task :dependencies

directory "tmp/www"

desc "Generate tmp/www/index.html"
file "tmp/www/index.html" => "tmp/www" do |task|
  File.open(task.name, "w") do |file|
    file.puts("<html>Hello World!</html>")
  end
end

rule ".o" => [".c"] do |task|
  sh "gcc #{task.source} -c -o #{task.name}"
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
nake-0.1.1 bm/Rakefile
nake-0.1 bm/Rakefile
nake-0.0.9.5 bm/Rakefile
nake-0.0.9.4 bm/Rakefile
nake-0.0.9.3 bm/Rakefile
nake-0.0.9.2 bm/Rakefile
nake-0.0.9.pre bm/Rakefile
do_riak-0.10.1.pre gems/gems/nake-0.0.8/bm/Rakefile
nake-0.0.8.pre bm/Rakefile
nake-0.0.8 bm/Rakefile