Inline utils.rbi.
This commit is contained in:
parent
059122c724
commit
e20c982d1a
@ -1,20 +0,0 @@
|
||||
# typed: strict
|
||||
|
||||
module Utils
|
||||
include Kernel
|
||||
|
||||
module Bottles
|
||||
end
|
||||
|
||||
module Link
|
||||
include Kernel
|
||||
end
|
||||
|
||||
module Shebang
|
||||
include Kernel
|
||||
end
|
||||
|
||||
module Tar
|
||||
include Kernel
|
||||
end
|
||||
end
|
||||
@ -6,6 +6,8 @@ module Utils
|
||||
#
|
||||
# @api private
|
||||
module Link
|
||||
include Kernel
|
||||
|
||||
module_function
|
||||
|
||||
def link_src_dst_dirs(src_dir, dst_dir, command, link_dir: false)
|
||||
|
||||
@ -6,6 +6,8 @@ module Utils
|
||||
#
|
||||
# @api private
|
||||
module Shebang
|
||||
include Kernel
|
||||
|
||||
module_function
|
||||
|
||||
# Specification on how to rewrite a given shebang.
|
||||
|
||||
@ -6,6 +6,8 @@ module Utils
|
||||
#
|
||||
# @api private
|
||||
module Tar
|
||||
include Kernel
|
||||
|
||||
module_function
|
||||
|
||||
TAR_FILE_EXTENSIONS = %w[.tar .tb2 .tbz .tbz2 .tgz .tlz .txz .tZ].freeze
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user