D
Dan Tenenbaum
I have the following trivial bit of code, just to help me figure out
how to create a more usable tarball:
require 'rake/packagetask'
Rake:ackageTask.new('WCV', :noversion) do |p|
p.need_tar_gz = true
p.package_files.include("README")
end
when I run "rake package", it creates a pkg directory
and a tarball in that directory called "wcv.tar.gz".
when I do "tar ztf pkg/wcv.tar.gz" I see this:
wcv/
wcv/README
I need for the initial "wcv" **not** to be included.
In other words, when I run "tar ztf pkg/wcv.tar.gz" I want to see:
README
Can this be done?
Thx
how to create a more usable tarball:
require 'rake/packagetask'
Rake:ackageTask.new('WCV', :noversion) do |p|
p.need_tar_gz = true
p.package_files.include("README")
end
when I run "rake package", it creates a pkg directory
and a tarball in that directory called "wcv.tar.gz".
when I do "tar ztf pkg/wcv.tar.gz" I see this:
wcv/
wcv/README
I need for the initial "wcv" **not** to be included.
In other words, when I run "tar ztf pkg/wcv.tar.gz" I want to see:
README
Can this be done?
Thx