blob: 76f16b134911acc9cdc5b270f2631b4c78747410 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module LicenseFinder
class Trash
def active?
return if project_path.to_path.include?('/vendor/')
project_path.join('vendor.conf').exist?
end
def prepare
within_project_path do
tool_box.install(tool: :golang)
shell.execute([:go, :get, '-u', 'github.com/rancher/trash'], capture: false)
shell.execute([:asdf, :reshim], capture: false)
end
end
end
end
|