Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove version string from dir in the archive.

  • Loading branch information...
commit b8a8e9e013f2de9f10d2221173bad15d443f2d5a 1 parent 695c3dd
@tckz authored
Showing with 7 additions and 14 deletions.
  1. +7 −14 Rakefile
View
21 Rakefile
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.