projects
/
ruby-eet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made git generate ChangeLog.
[ruby-eet.git]
/
Rakefile
diff --git
a/Rakefile
b/Rakefile
index 43d7a3abf0dc1badf01cba2c3891e69c731402b3..f49c8367e18be29fb27e01bde63b82c31bac3ee9 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-1,5
+1,3
@@
-# $Id: Rakefile 55 2005-06-02 20:16:44Z tilman $
-
require "rbconfig"
require "rake/clean"
require "rake/testtask"
require "rbconfig"
require "rake/clean"
require "rake/testtask"
@@
-67,19
+65,27
@@
Rake::RDocTask.new do |t|
t.rdoc_dir = "doc"
t.title = "Ruby-EET - EET bindings for Ruby"
t.options = ["--line-numbers", "--inline-source", "--main", "README"]
t.rdoc_dir = "doc"
t.title = "Ruby-EET - EET bindings for Ruby"
t.options = ["--line-numbers", "--inline-source", "--main", "README"]
- t.rdoc_files.include("README", "COPYING", "AUTHORS",
"ChangeLog",
+ t.rdoc_files.include("README", "COPYING", "AUTHORS",
"NEWS", "ext/ext.c", "lib/eet.rb")
end
"NEWS", "ext/ext.c", "lib/eet.rb")
end
+CLOBBER.include("ChangeLog")
+
+file "ChangeLog" do
+ `git log > ChangeLog`
+end
+
Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t|
t.need_tar_gz = true
Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t|
t.need_tar_gz = true
- t.package_files.include("[A-Z]*", "ext/*.c", "lib/*.rb", "test/*.rb")
+ t.package_files.include("AUTHORS", "ChangeLog", "COPYING", "NEWS",
+ "README", "Rakefile",
+ "ext/*.c", "lib/*.rb", "test/*.rb")
end
task :publish => [:rdoc, :package] do
p = Rake::CompositePublisher.new
p.add(Rake::SshFreshDirPublisher.new("code-monkey.de",
end
task :publish => [:rdoc, :package] do
p = Rake::CompositePublisher.new
p.add(Rake::SshFreshDirPublisher.new("code-monkey.de",
- "public_
html/
docs/" +
+ "public_docs/" +
PKG_NAME, "doc"))
p.add(Rake::SshFilePublisher.new("code-monkey.de",
".", "pkg",
PKG_NAME, "doc"))
p.add(Rake::SshFilePublisher.new("code-monkey.de",
".", "pkg",