tests/makedist-rwdwruby.rb in rwdruby-1.06 vs tests/makedist-rwdwruby.rb in rwdruby-1.07
- old
+ new
@@ -10,11 +10,11 @@
$testharnessarray = [""]
JumpLink = Hash.new("default")
$rwdjumplink= [""]
require 'fileutils'
DistroName = "rwdwruby"
-DistroVersion="1.06"
+DistroVersion="1.07"
load "configuration/#{DistroName}-#{DistroVersion}.dist"
DistroTitle="#{DistroName}-#{DistroVersion}"
@@ -25,13 +25,15 @@
puts "creating #{DistroName} distribution files version #{DistroVersion}"
#puts "moving up one directory"
#Dir.chdir("..")
+findcmd = "find _arx > /tmp/excludezip"
+puts "#{findcmd}"
+`#{findcmd}`
-
FileUtils.rm_rf("#{DistroTitle}.zip")
-zipcreatecmd = "zip -r #{DistroTitle}.zip *"
+zipcreatecmd = "zip -r #{DistroTitle}.zip * -x@/tmp/excludezip"
puts "#{zipcreatecmd}"
`#{zipcreatecmd}`
gemspecfilename = "rwdzip#{DistroTitle}.gemspec"
tobject = Time.now
\ No newline at end of file