Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 338 Bytes
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'yard'
RSpec::Core::RakeTask.new(:spec)
YARD::Rake::YardocTask.new(:doc) do |t|
t.files = ['lib/*.rb', 'lib/**/*.rb']
end
task :pry do |task|
cmd = [ 'pry', "-r './lib/tensorflow.rb' "]
run *cmd
end
def run *cmd
sh(cmd.join(" "))
end
task :default => :spec