* Drop task for release from Rakefile which depends on files in prior
version 12.0 of rake.
This commit is contained in:
parent
1248c8f2fb
commit
d473972471
2 changed files with 24 additions and 8 deletions
|
@ -1,10 +1,10 @@
|
|||
$NetBSD: distinfo,v 1.5 2017/04/14 21:35:34 minskim Exp $
|
||||
$NetBSD: distinfo,v 1.6 2017/06/05 16:06:57 taca Exp $
|
||||
|
||||
SHA1 (ruby-eet-0.1.4.tar.gz) = 16e1824179b019f48a554388aadf5168521cad51
|
||||
RMD160 (ruby-eet-0.1.4.tar.gz) = 10521754510e8f8bd00372031d663c0ebdae41c2
|
||||
SHA512 (ruby-eet-0.1.4.tar.gz) = 0f6cac9e981a8cc0c1614111e4d7aa9f3f80e2080aed3fa0cbc6ac7aa689ba95e854b53859ebb7ff9904f9b9b94916e0e86f1a1c47d15c00e86d0493ede9e2f5
|
||||
Size (ruby-eet-0.1.4.tar.gz) = 19972 bytes
|
||||
SHA1 (patch-Rakefile) = 2b9ccd581f75ce04d03889ffd58ad4072a8a6fd7
|
||||
SHA1 (patch-Rakefile) = d24053f4eba0f0451e401cd48a4054b1aa53d539
|
||||
SHA1 (patch-ext_ext.c) = 5bb8a156415b960e369d1f3cf637f07dbaed3c3c
|
||||
SHA1 (patch-rake_configuretask.rb) = 04b836c314954cee4b1ced214fbd5eafca6b77a9
|
||||
SHA1 (patch-rake_extensiontask.rb) = d6b15569753b2475a833a7b33ef8344b48696650
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
$NetBSD: patch-Rakefile,v 1.2 2017/04/14 21:35:34 minskim Exp $
|
||||
$NetBSD: patch-Rakefile,v 1.3 2017/06/05 16:06:57 taca Exp $
|
||||
|
||||
* Require modern task rule from rdoc.
|
||||
* Drop task for release.
|
||||
|
||||
--- Rakefile.orig 2007-03-23 11:32:09.000000000 +0000
|
||||
+++ Rakefile
|
||||
@@ -1,13 +1,13 @@
|
||||
@@ -1,13 +1,11 @@
|
||||
require "rbconfig"
|
||||
require "rake/clean"
|
||||
require "rake/testtask"
|
||||
-require "rake/rdoctask"
|
||||
+require "rdoc/task"
|
||||
require "rake/packagetask"
|
||||
require "rake/contrib/compositepublisher"
|
||||
require "rake/contrib/sshpublisher"
|
||||
-require "rake/contrib/compositepublisher"
|
||||
-require "rake/contrib/sshpublisher"
|
||||
|
||||
-require "rake/configuretask"
|
||||
-require "rake/extensiontask"
|
||||
|
@ -21,7 +22,7 @@ $NetBSD: patch-Rakefile,v 1.2 2017/04/14 21:35:34 minskim Exp $
|
|||
|
||||
PKG_NAME = "ruby-eet"
|
||||
PKG_VERSION = File.read("lib/eet.rb").
|
||||
@@ -43,6 +43,9 @@ task :pre_ext => [:configure] do
|
||||
@@ -43,6 +41,9 @@ task :pre_ext => [:configure] do
|
||||
|
||||
cflags = [
|
||||
ext.env[:cflags],
|
||||
|
@ -31,7 +32,7 @@ $NetBSD: patch-Rakefile,v 1.2 2017/04/14 21:35:34 minskim Exp $
|
|||
config.eet.cflags
|
||||
]
|
||||
|
||||
@@ -52,11 +55,11 @@ end
|
||||
@@ -52,11 +53,11 @@ end
|
||||
task :install => [:ext] do |t|
|
||||
destdir = ENV["DESTDIR"] || ""
|
||||
|
||||
|
@ -45,3 +46,18 @@ $NetBSD: patch-Rakefile,v 1.2 2017/04/14 21:35:34 minskim Exp $
|
|||
FileUtils::Verbose.mkdir_p(ddir) unless File.directory?(ddir)
|
||||
FileUtils::Verbose.install("lib/eet.rb", ddir, :mode => 0644)
|
||||
end
|
||||
@@ -87,14 +88,3 @@ Rake::PackageTask.new(PKG_NAME, PKG_VERS
|
||||
t.need_tar_gz = true
|
||||
t.package_files = PKG_FILES
|
||||
end
|
||||
-
|
||||
-task :publish => [:rdoc, :package] do
|
||||
- p = Rake::CompositePublisher.new
|
||||
- p.add(Rake::SshFreshDirPublisher.new("code-monkey.de",
|
||||
- "public_docs/" +
|
||||
- PKG_NAME, "doc"))
|
||||
- p.add(Rake::SshFilePublisher.new("code-monkey.de",
|
||||
- ".", "pkg",
|
||||
- "#{PKG_NAME}-#{PKG_VERSION}.tar.gz"))
|
||||
- p.upload
|
||||
-end
|
||||
|
|
Loading…
Reference in a new issue