Sha256: 07708f7e95d8a6eb23c152e84bca7a5227d60e0a09229b698bf987b7c727e481
Contents?: true
Size: 642 Bytes
Versions: 4
Compression:
Stored size: 642 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_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] 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-1.0.0 | Rakefile |
ruby-dnn-0.16.2 | Rakefile |
ruby-dnn-0.16.1 | Rakefile |
ruby-dnn-0.16.0 | Rakefile |