forked from rubysec/ruby-advisory-db
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
22 lines (18 loc) · 467 Bytes
/
Rakefile
File metadata and controls
22 lines (18 loc) · 467 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'yaml'
namespace :lint do
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:yaml)
rescue LoadError => e
task :spec do
abort "Please run `gem install rspec` to install RSpec."
end
end
end
desc "Sync GitHub RubyGem Advisories into this project"
task :sync_github_advisories do
require_relative "lib/github_advisory_sync"
GitHub::GitHubAdvisorySync.sync
end
task :lint => ['lint:yaml']
task :default => :lint