~singpolyma/jmp-pay

ref: 02f0825808f085523ae543845bcc5d7d3927d9fc jmp-pay/Rakefile -rw-r--r-- 411 bytes
02f08258Stephen Paul Weber Merge branch 'activate-with-balance' 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require "rake/testtask"

Rake::TestTask.new(:test) do |t|
	ENV["RANTLY_VERBOSE"] = "0" unless ENV["RANTLY_VERBOSE"]
	ENV["RANTLY_COUNT"] = "10" unless ENV["RANTLY_COUNT"]

	t.libs << "test"
	t.libs << "lib"
	t.test_files = FileList["test/**/test_*.rb"]
	t.warning = false
end

task :entr do
	sh "sh", "-c", "git ls-files | entr -s 'rubocop && rake test'"
end

task default: :test