Permalink
Browse files

remove version string from dir in the archive.

  • Loading branch information...
1 parent 695c3dd commit b8a8e9e013f2de9f10d2221173bad15d443f2d5a @tckz committed Feb 1, 2010
Showing with 7 additions and 14 deletions.
  1. +7 −14 Rakefile
View
@@ -6,24 +6,16 @@ require 'rake/packagetask'
require 'rake/testtask'
require 'pathname'
-# task :test
Rake::TestTask.new do |t|
- t.libs << "test"
- t.pattern = "test/*/*_test.rb"
- #t.warning = true
- t.verbose = true
+ t.libs << "test"
+ t.pattern = "test/*/*_test.rb"
+ #t.warning = true
+ t.verbose = true
end
-# task :package
Rake::PackageTask.new do |p|
- pn = Pathname.new(Dir.pwd)
- p.name = pn.basename
-
- File.open("init.rb") { |io|
- io.read =~ /version\s+'(.*)'/
- v = $1
- p.version = v
- }
+ p.name = "wiki_graphviz_plugin"
+ p.version = :noversion
p.need_tar = true
p.package_dir = 'pkg'
@@ -32,4 +24,5 @@ Rake::PackageTask.new do |p|
p.define
end
+
# vim: set ts=2 sw=2 sts=2:

0 comments on commit b8a8e9e

Please sign in to comment.