Sha256: 24b6e482867f95f66e28e9bf910a9957c0ea52dea6a40babb5181da17a305795
Contents?: true
Size: 527 Bytes
Versions: 4
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EhbrsRubyUtils module Fs class Selected class BuildFile common_constructor :build, :path do self.path = path.to_pathname end def perform target_path.assert_parent.make_symlink(path) end def target_path build.target_dir.join(target_basename) end def target_basename build.target_basename_proc.call(path) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems