Sha256: 703cc399ddd3c972be2c34e86c001ca6df4e6fd4238d393c7f8d55daa2913936
Contents?: true
Size: 727 Bytes
Versions: 6
Compression:
Stored size: 727 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_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/core/*.rb"] src_list += Dir["lib/dnn/*.rb"] sh "yardoc #{src_list.join(' ')}" end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ruby-dnn-0.14.3 | Rakefile |
ruby-dnn-0.14.2 | Rakefile |
ruby-dnn-0.14.1 | Rakefile |
ruby-dnn-0.14.0 | Rakefile |
ruby-dnn-0.13.4 | Rakefile |
ruby-dnn-0.13.3 | Rakefile |