Sha256: 6910280e5f2c8caca7ce9f083f00542bf87bdcd2a5d2f54198c0028496662243

Contents?: true

Size: 780 Bytes

Versions: 3

Compression:

Stored size: 780 Bytes

Contents

#!/usr/bin/env ruby

require "colored"
require "shellwords"

tool_name = File.basename($0)

full_params = ARGV.shelljoin

puts("[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow)
puts("Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow)

exec_arr = ["fastlane", tool_name] + ARGV

# The * turns the array into a parameter list
# This is using the form of exec which takes a variable parameter list, e.g. `exec(command, param1, param2, ...)`
# We need to use that, because otherwise invocations like
# `spaceauth -u user@fastlane.tools` would recognize "-u user@fastlane.tools" as a single parameter and throw errors
exec(*exec_arr)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 bin/bin-proxy
fastlane_hotfix-2.165.0 bin/bin-proxy
fastlane_hotfix-2.187.0 bin/bin-proxy