Sha256: d87f60af81a0a78658a59706a9e089e9e17974a2599e207e4fc7622cd66e86e4
Contents?: true
Size: 530 Bytes
Versions: 2
Compression:
Stored size: 530 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.make_symlink(path) end def target_path build.target_dir.join(target_basename) end def target_basename build.target_basename_proc.call(path.basename.to_path) end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ehbrs_ruby_utils-0.11.0 | lib/ehbrs_ruby_utils/fs/selected/build_file.rb |
ehbrs-tools-0.27.0 | vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/fs/selected/build_file.rb |