Sha256: 8014a2f2acc06241084fc9703e36b0b81c7122749e2b3f97aa14d063845e0bb0
Contents?: true
Size: 835 Bytes
Versions: 4
Compression:
Stored size: 835 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", "test/layers_test/*_test.rb"] end task :build_cifar_loader do sh "cd ext/cifar_loader; ruby extconf.rb; make" end task :build_rb_stb_image do sh "cd ext/rb_stb_image; ruby extconf.rb; make" end task :clean_cifar_loader do sh "cd ext/cifar_loader; make clean; unlink Makefile" end task :clean_rb_stb_image do sh "cd ext/rb_stb_image; make clean; unlink Makefile" end task :default => [:test, :build_cifar_loader, :build_rb_stb_image] task :doc do src_list = Dir["lib/dnn.rb"] src_list += Dir["lib/dnn/core/*.rb"] src_list += Dir["lib/dnn/core/layers/*.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.15.3 | Rakefile |
ruby-dnn-0.15.2 | Rakefile |
ruby-dnn-0.15.1 | Rakefile |
ruby-dnn-0.15.0 | Rakefile |