Skip to content

Commit 6dc22fe

Browse files
committed
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
1 parent 68ab0f9 commit 6dc22fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Rakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ task :package => [:clean, :compile, :docs] do
250250

251251
%x(tar -czf #{path_to(tarball)} -C #{path_to('pkg')} .)
252252

253+
FileUtils.cp path_to(tarball), pkg_dir
254+
FileUtils.mv pkg_dir, path_to(['pkg', version])
255+
253256
puts "Package created: #{path_to(tarball)}"
254257
end
255258

0 commit comments

Comments
 (0)