-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
36 lines (28 loc) · 609 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
33
34
35
36
task default: :list
desc "List tasks"
task :list do
sh "rake -AT"
end
desc "Run specs"
task specs: %i[bundle] do
sh "bin/rspec"
end
desc "Release a new version"
task release: %i[bump bundle]
desc "Bump the version"
task :bump do
# If missing "bump", run: `cargo install --git https://github.com/broothie/bump`
sh "bump lib/typeid/version.rb"
end
desc "Run bundle install"
task :bundle do
sh "bundle install"
end
desc "Run YARD server"
task :yard do
sh "yard server --reload"
end
desc "Update spec case files"
task :update_spec_case_files do |spec|
sh "bin/update_spec_case_files.sh"
end