Sha256: 5e8bea57065d030964950349e444dbe14fc3dcbaca9e7d2d6938e59b6d236f9c
Contents?: true
Size: 796 Bytes
Versions: 87
Compression:
Stored size: 796 Bytes
Contents
namespace :package do desc "Create a source tar archive" task :tar => [:clean] do if Pkg::Config.pre_tar_task Pkg::Util::RakeUtils.invoke_task(Pkg::Config.pre_tar_task) end Rake::Task["package:doc"].invoke if Pkg::Config.build_doc tar = Pkg::Tar.new # If the user has specified templates via config file, they will be ack'd # by the tar class. Otherwise, we load what we consider to be the "default" # set, which is default for historical purposes. # tar.templates ||= Dir[File.join(Pkg::Config.project_root, "ext", "**", "*.erb")].select { |i| i !~ /ext\/packaging|ext\/osx/ } tar.pkg! puts "Wrote #{`pwd`.strip}/pkg/#{Pkg::Config.project}-#{Pkg::Config.version}.tar.gz" end end namespace :pl do task :tar => ["package:tar"] end
Version data entries
87 entries across 87 versions & 1 rubygems