File: Rakefile

package info (click to toggle)
ruby-deep-merge 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 144 kB
  • ctags: 23
  • sloc: ruby: 612; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'rake/testtask'

Rake::TestTask.new do |t|
  t.libs << FileList['lib/**.rb']
  t.test_files = FileList['test/test*.rb']
end

task :default => :test

begin
  require 'rubygems'
  require 'rubygems/package_task'

  gemspec = eval(IO.read('deep_merge.gemspec'))
  Gem::PackageTask.new(gemspec).define
rescue LoadError
  #okay, then
end