Sha256: 4267ef5b6e8885d6d41ec4ab1761f59dc8d850081d15130593ae13695f5e7f04

Contents?: true

Size: 353 Bytes

Versions: 22

Compression:

Stored size: 353 Bytes

Contents

task :clean do
  if File.exists?('Makefile')
    sh 'make clean'
  else
    $stderr.puts "nothing to clean, no Makefile"
  end
end

task :clobber => :clean do
  rm_rf %w[Makefile c lib bin include]
end

task :build_zkc do
  sh 'ruby extconf.rb'
end

file 'Makefile' => :build_zkc

task :build => 'Makefile' do
  sh 'make'
end

task :default => :build

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
slyphon-zookeeper-0.8.4 ext/Rakefile
slyphon-zookeeper-0.8.4-java ext/Rakefile
slyphon-zookeeper-0.8.3 ext/Rakefile
slyphon-zookeeper-0.8.3-java ext/Rakefile
slyphon-zookeeper-0.8.2 ext/Rakefile
slyphon-zookeeper-0.8.2-java ext/Rakefile
slyphon-zookeeper-0.8.1 ext/Rakefile
slyphon-zookeeper-0.8.1-java ext/Rakefile
slyphon-zookeeper-0.8.0 ext/Rakefile
slyphon-zookeeper-0.8.0-java ext/Rakefile
slyphon-zookeeper-0.8.0.rc.1-java ext/Rakefile
slyphon-zookeeper-0.8.0.rc.1 ext/Rakefile
slyphon-zookeeper-0.3.0 ext/Rakefile
slyphon-zookeeper-0.3.0-java ext/Rakefile
slyphon-zookeeper-0.2.11 ext/Rakefile
slyphon-zookeeper-0.2.11-java ext/Rakefile
slyphon-zookeeper-0.2.10 ext/Rakefile
slyphon-zookeeper-0.2.10-java ext/Rakefile
slyphon-zookeeper-0.2.9-java ext/Rakefile
slyphon-zookeeper-0.2.9 ext/Rakefile