Sha256: ce9bd068e3809a243008b484754cb8511c41b60e6781a7f9df2e4509d15b4afd
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
version '1.6.1' src_dir ::File.dirname(__FILE__) + '/test_src' target_dir DIST bundle 'foo.js' do file 'file1.js' file 'file2.js' end bundle 'foo2.js' do license 'license.txt' file 'file3.js' file 'file4.js' end file 'file4.js' file 'text.txt' filter do |src, config| src.gsub!(/<VERSION>/, config.version.full) end after_write do |config| config.version.releaseable.each do |v| from = "#{config.src_dir}/foo.txt" to = "#{config.target_dir}/#{v}/foo.txt" puts "copying #{to}" FileUtils.cp(from, to) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jbundle-0.0.6 | spec/JFile |