Sha256: 2c796b9c3ced76af6e4266ac7a2d5628c0086dd5de41e2228f856c4df0193886

Contents?: true

Size: 409 Bytes

Versions: 7

Compression:

Stored size: 409 Bytes

Contents

require "bundler/gem_tasks"

task :doc do
  srcs = []
  Dir.glob("ext/numo/linalg/*").each do |d|
    if File.exist?(d+"/extconf.rb")
      sh "cd #{d}; ruby extconf.rb; make clean; make src"
      srcs << d+"/*.c"
    end
  end
  srcs << "lib/numo/linalg.rb"
  srcs << "lib/numo/linalg/*.rb"
  sh "yard -m markdown -o yard -r README.md #{srcs.join(' ')}"
end

task :cleandoc do
  sh "rm -r yard .yardoc"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
numo-linalg-0.1.5 Rakefile
numo-linalg-0.1.4 Rakefile
numo-linalg-0.1.3 Rakefile
numo-linalg-0.1.2 Rakefile
numo-linalg-0.1.1 Rakefile
numo-linalg-0.1.0 Rakefile
numo-linalg-0.0.1 Rakefile