forked from pcreux/paybox_system
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRakefile
More file actions
29 lines (24 loc) · 786 Bytes
/
Rakefile
File metadata and controls
29 lines (24 loc) · 786 Bytes
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
# frozen_string_literal: true
require 'bundler/gem_tasks'
# module Bundler
# class GemHelper
# def rubygem_push(path)
# gem_command = ["gem inabox #{path}"]
# gem_command << '--key' << gem_key if gem_key
# gem_command << '--host' << allowed_push_host if allowed_push_host
# unless allowed_push_host || Bundler.user_home.join('.gem/credentials').file?
# raise "Your rubygems.org credentials aren't set. Run `gem push` to set them."
# end
#
# sh(gem_command.join(' '))
# Bundler.ui.confirm "Pushed #{name} #{version} to #{gem_push_host}"
# end
# end
# end
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end
task default: :test