-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
28 lines (26 loc) · 821 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
# Jeweler stuff
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'oauth2-cli'
gem.version = '0.2.1'
gem.summary = %(CLI utility to get OAuth token)
gem.description = %(CLI utility to get OAuth token for three-leggged flows)
gem.author = 'Ștefan Rusu'
gem.email = '[email protected]'
gem.files = %w[bin/oauth2-cli]
gem.executables = %w[oauth2-cli]
gem.license = 'MIT'
gem.homepage = 'https://github.com/SaltwaterC/oauth2-cli'
end
rescue LoadError
STDERR.puts 'Jeweler, or one of its dependencies, is not available.'
end
begin
# Rubocop stuff
require 'rubocop/rake_task'
RuboCop::RakeTask.new
rescue LoadError
STDERR.puts 'Rubocop, or one of its dependencies, is not available.'
end
task default: [:rubocop]