[SCM] vim-addon-manager packaging branch, master, updated. v0.4.4-52-geef7258
Antonio Terceiro
terceiro at debian.org
Tue Jan 31 23:33:30 UTC 2012
The following commit has been merged in the master branch:
commit 99fb775462948804a5d62673f0b3c8b02b5aea6d
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Jan 22 18:26:48 2012 -0200
Run tests with rake during build
diff --git a/Rakefile b/Rakefile
index 259d665..ba79284 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,19 +1,9 @@
task :default => [:rspec, :cucumber]
-def each_ruby
- %w[ ruby1.9.1 ruby1.8 ].each do |ruby_version|
- yield(ruby_version)
- end
-end
-
task :rspec do
- each_ruby do |ruby_version|
- sh ruby_version, '-w', '-S', 'rspec', '--color', 'spec'
- end
+ ruby '-w -S rspec --color spec'
end
task :cucumber do
- each_ruby do |ruby_version|
- sh ruby_version, '-S', 'cucumber', '--format', 'progress'
- end
+ ruby '-S cucumber --format progress'
end
diff --git a/debian/control b/debian/control
index 640620a..be7a2f0 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: editors
Priority: extra
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>
Uploaders: James Vega <jamessan at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), rdtool, gem2deb (>= 0.2.13~)
+Build-Depends: debhelper (>= 7.0.50~), rdtool, gem2deb (>= 0.2.13~), rake
Standards-Version: 3.9.2
Vcs-Git: git://git.debian.org/git/pkg-vim/vim-addon-manager.git
Vcs-Browser: http://git.debian.org/?p=pkg-vim/vim-addon-manager.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 120000
index 0000000..c6de17e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1 @@
+../Rakefile
\ No newline at end of file
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 4b0170d..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-require 'vim/addon-manager'
-require 'vim/common'
-require 'vim/registry'
--
vim-addon-manager packaging
More information about the pkg-vim-maintainers
mailing list