Sha256: 48ec8d2ec39a874571434fb488251fe7cd54bd6b8ac62cf9404fd3a5e54b7481
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
class TerraspaceBundler::Mod module PathConcern def setup_tmp FileUtils.mkdir_p(cache_root) FileUtils.mkdir_p(stage_root) end def tmp_root "/tmp/terraspace/bundler" end def cache_root "#{tmp_root}/cache" end def stage_root "#{tmp_root}/stage" end def cache_path(name) "#{cache_root}/#{name}" end def stage_path(name) "#{stage_root}/#{name}" end def mod_path export_to = @mod.export_to || TB.config.export_to "#{export_to}/#{@mod.name}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
terraspace-bundler-0.3.1 | lib/terraspace_bundler/mod/path_concern.rb |
terraspace-bundler-0.3.0 | lib/terraspace_bundler/mod/path_concern.rb |