Sha256: a173d2b90376adac3478fa23ae37616d5aad9dae94e1c9085de554efeae87f7b
Contents?: true
Size: 540 Bytes
Versions: 90
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true module Dependabot module Utils module Go module SharedHelper def self.path project_root = File.join(File.dirname(__FILE__), "../../../..") platform = case RbConfig::CONFIG["arch"] when /linux/ then "linux" when /darwin/ then "darwin" else raise "Invalid platform #{RbConfig::CONFIG['arch']}" end File.join(project_root, "helpers/go/go-helpers.#{platform}64") end end end end end
Version data entries
90 entries across 90 versions & 1 rubygems