Sha256: e1b09d3893835edfe3402abafb2b61bf0a5d4d62609080695415b15a9479ecaa

Contents?: true

Size: 547 Bytes

Versions: 4

Compression:

Stored size: 547 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/cifar10_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

4 entries across 4 versions & 1 rubygems

Version Path
ruby-dnn-0.10.3 Rakefile
ruby-dnn-0.10.2 Rakefile
ruby-dnn-0.10.1 Rakefile
ruby-dnn-0.10.0 Rakefile