Sha256: 6b315b393fd65a408990511680a795e7e39dd03302549309f9ddb2c4eca1e92b
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
require 'buildrizpack' Buildr::write "example_3/src/main/java/Hello.java", "public class Hello {}" define 'example_3' do package(:jar) package(:izpack).locales = ['eng', 'fra', 'deu'] Buildr.write(path_to(:target)+"/1_5.txt", "This is file 1_5.txt") Buildr.write(path_to(:target)+"/3_7.txt", "This is file 3_7.txt") s = '' xm = Builder::XmlMarkup.new(:target=>s) xm.packs { xm.pack('name' => 'pack_3', 'required' => 'yes') { xm.description("Niklau is testing") xm.file('src'=> path_to(:target)+"/1_5.txt", 'targetdir' =>'1.5') xm.file('src'=> path_to(:target)+"/3_7.txt", 'targetdir' =>'3.7') } } package(:izpack).packs = s end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
buildrizpack-0.1 | spec/buildrizpack/buildfile.example_3~ |