Sha256: a361a004166ac73473dfd85ac9e1750eca0b8d746870adb613be0a131c8f6383
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
# Disable git-lfs at checkout time, we run install --local and pull later Autobuild::Git.default_config['filter.lfs.smudge'] = '' Autobuild::Git.default_config['filter.lfs.required'] = 'false' module Autobuild Git.add_post_hook do |importer, package| lfs_dir = File.join(package.srcdir, '.git', 'lfs') if File.directory?(lfs_dir) && importer.options[:lfs] != false package.run 'import', Autobuild.tool(:git), 'lfs', 'install', '--local', '--skip-smudge', working_directory: package.importdir package.run 'import', Autobuild.tool(:git), 'lfs', 'pull', importer.remote_name, working_directory: package.importdir end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autobuild-1.10.0.rc19 | lib/autobuild/import/git-lfs.rb |