Sha256: 5e278b82c90f55b248036e1c88dae34abad11b274292d6c3b144f5a487d25413

Contents?: true

Size: 666 Bytes

Versions: 10

Compression:

Stored size: 666 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require "yard"
require "yard/rake/yardoc_task"

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

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

task :clean_rb_stb_image do
  sh "cd ext/rb_stb_image; make clean; unlink Makefile"
end

task :default => [:test, :build_rb_stb_image]

YARD::Rake::YardocTask.new do |t|
  t.files = [
    "lib/dnn.rb",
    "lib/dnn/core/*.rb",
    "lib/dnn/core/layers/*.rb",
    "lib/dnn/*.rb",
    "lib/dnn/datasets/*.rb",
  ]
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-dnn-1.2.2 Rakefile
ruby-dnn-1.2.1 Rakefile
ruby-dnn-1.2.0 Rakefile
ruby-dnn-1.1.6 Rakefile
ruby-dnn-1.1.5 Rakefile
ruby-dnn-1.1.4 Rakefile
ruby-dnn-1.1.3 Rakefile
ruby-dnn-1.1.2 Rakefile
ruby-dnn-1.1.1 Rakefile
ruby-dnn-1.1.0 Rakefile