From 6dc22fe57529387b1a66b42193670bf6d6685675 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 30 Jun 2011 10:58:09 -0700 Subject: feat:build: better build/pkg/ dir structure rake package now produced directory structure that can be uploaded to the ftp server as is without manual changes --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index c8ba1418..e00536f7 100644 --- a/Rakefile +++ b/Rakefile @@ -250,6 +250,9 @@ task :package => [:clean, :compile, :docs] do %x(tar -czf #{path_to(tarball)} -C #{path_to('pkg')} .) + FileUtils.cp path_to(tarball), pkg_dir + FileUtils.mv pkg_dir, path_to(['pkg', version]) + puts "Package created: #{path_to(tarball)}" end -- cgit v1.2.3