Sha256: 238fc3a85231e43d1c6d9f26214f2d3c41ff4e408da3f499e1afd83cdca969ad

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 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
  ruby 'extconf.rb'
end

file 'Makefile' => :build_zkc

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

task :default => :build

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slyphon-zookeeper-0.2.7 ext/Rakefile
slyphon-zookeeper-0.2.7-java ext/Rakefile
slyphon-zookeeper-0.2.5 ext/Rakefile
slyphon-zookeeper-0.2.5-java ext/Rakefile