lib/glimmer/package.rb in glimmer-dsl-swt-0.5.4 vs lib/glimmer/package.rb in glimmer-dsl-swt-0.5.5
- old
+ new
@@ -19,10 +19,10 @@
puts 'Generating JAR configuration (config/warble.rb) to use with Warbler...'
FileUtils.mkdir_p('config')
system('warble config')
new_config = File.read('config/warble.rb').split("\n").inject('') do |output, line|
if line.include?('config.dirs =')
- line = line.sub('# ', '').sub(/=[^=\n]+$/, '= %w(app config db lib script bin docs fonts icons images sounds videos vendor)')
+ line = line.sub('# ', '').sub(/=[^=\n]+$/, '= %w(app bin config db docs fonts icons images lib package script sounds vendor videos)')
end
if line.include?('config.includes =')
line = line.sub('# ', '').sub(/=[^=\n]+$/, "= FileList['LICENSE.txt', 'VERSION']")
end
if line.include?('config.autodeploy_dir =')