Sha256: ea24ac2f4354317cf17f5875f16194b0e554798671134ce620c903f565df8f4f

Contents?: true

Size: 545 Bytes

Versions: 5

Compression:

Stored size: 545 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "ext"
  t.libs << "lib"
  t.test_files = FileList["test/*_test.rb"]
end

task :build_dataset_loader do
  sh "cd ext/cifar_loader; ruby extconf.rb; make"
end

task :build_image_io do
  sh "cd ext/rb_stb_image; ruby extconf.rb; make"
end

task :default => [:test, :build_dataset_loader, :build_image_io]

task :doc do
  src_list = Dir["lib/dnn/core/*.rb"]
  src_list += Dir["lib/dnn/*.rb"]
  sh "yardoc #{src_list.join(' ')}"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-dnn-0.13.2 Rakefile
ruby-dnn-0.13.1 Rakefile
ruby-dnn-0.13.0 Rakefile
ruby-dnn-0.12.4 Rakefile
ruby-dnn-0.10.4 Rakefile