forked from github/explore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
32 lines (26 loc) · 649 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require "rake/testtask"
Rake::TestTask.new(:topics) do |t|
t.libs << "test"
t.test_files = FileList["test/topics_test.rb"]
t.warning = false
t.verbose = false
end
Rake::TestTask.new(:collections) do |t|
t.libs << "test"
t.test_files = FileList["test/collections_test.rb"]
t.warning = false
t.verbose = false
end
Rake::TestTask.new(:default) do |t|
t.libs << "test"
t.test_files = FileList["test/*_test.rb"]
t.warning = false
t.verbose = false
end
desc "Run topics related tests"
task topics: :test
desc "Run collections related tests"
task collections: :test
desc "Run all tests"
task default: :test
task all: :default