-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Rakefile
32 lines (25 loc) · 744 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 'rspec/core'
# By default, execute "run"
task default: %w[run]
# By default "run" is the same as the old script's default option,
# which looks for NoteStore.sqlite in this folder and executes.
task :run do
ruby "notes_cloud_ripper.rb --file NoteStore.sqlite"
end
# rake help will display the help message
task :help do
ruby "notes_cloud_ripper.rb --help"
end
# "rake clean" will delete the output folder
task :clean do
FileUtils.rm_rf('output')
end
task :test do
RSpec::Core::Runner.run(["spec/spec.rb", "--tag", "~expensive"])
end
task :test_expensive do
RSpec::Core::Runner.run(["spec/spec.rb", "--tag", "expensive"])
end
task :test_all do
RSpec::Core::Runner.run(["spec/spec.rb", "--tag", "~missing_data"])
end