Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (36 sloc) 1.44 kb
ee6cf61 @gsinclair Cleaned out crap and generate gem
gsinclair authored
1 require 'rubygems'
2 require 'rake/gempackagetask'
6525cb9 @gsinclair *** empty log message ***
gsinclair authored
3
ee6cf61 @gsinclair Cleaned out crap and generate gem
gsinclair authored
4 PACKAGE_NAME = 'vim-ruby'
6525cb9 @gsinclair *** empty log message ***
gsinclair authored
5 RELEASE_FILES = FileList[
894966f @dkearns add vim help files, the new FAQ and rubycomplete.vim to the gemspec file...
dkearns authored
6 'ChangeLog', 'CONTRIBUTORS', 'FAQ', 'INSTALL', 'NEWS', 'README', 'bin/*.rb',
7 'doc/*.txt','{autoload,compiler,ftdetect,ftplugin,indent,syntax}/*.vim'
6525cb9 @gsinclair *** empty log message ***
gsinclair authored
8 ]
1eceb6d @dkearns use GMT time in the rake package version string
dkearns authored
9 PACKAGE_VERSION = Time.now.gmtime.strftime('%Y.%m.%d')
ee6cf61 @gsinclair Cleaned out crap and generate gem
gsinclair authored
10
f8268b9 @dkearns add 'package' as the default rake target
dkearns authored
11 desc "Build all the packages"
12 task :default => :package
13
14
ee6cf61 @gsinclair Cleaned out crap and generate gem
gsinclair authored
15 def gemspec
16 Gem::Specification.new do |s|
17 s.name = PACKAGE_NAME
18 s.version = PACKAGE_VERSION
19 s.files = RELEASE_FILES.to_a
20 s.summary = "Ruby configuration files for Vim. Run 'vim-ruby-install.rb' to complete installation."
21 s.description = s.summary + "\n\nThis package doesn't contain a Ruby library."
22 s.requirements << 'RubyGems 0.8+' << 'Vim 6.0+'
23 s.required_ruby_version = '>= 1.8.0'
24 s.require_path = '.'
25 s.bindir = 'bin'
26 s.executables = ['vim-ruby-install.rb']
27 s.author = 'Gavin Sinclair et al.'
28 s.email = 'gsinclair@soyabean.com.au'
29 s.homepage = 'http://vim-ruby.rubyforge.org'
30 s.rubyforge_project = 'vim-ruby'
31 s.has_rdoc = false
6525cb9 @gsinclair *** empty log message ***
gsinclair authored
32 end
33 end
34
ee6cf61 @gsinclair Cleaned out crap and generate gem
gsinclair authored
35 Rake::GemPackageTask.new(gemspec) do |t|
36 t.package_dir = 'etc/package'
37 t.need_tar = true
c21ee34 @dkearns set the rake package task's need_zip attribute to create zip package arc...
dkearns authored
38 t.need_zip = true
6525cb9 @gsinclair *** empty log message ***
gsinclair authored
39 end
40
41 # Supporting methods
42
843adff @dkearns normalise vim modelines
dkearns authored
43 # vim: nowrap sw=2 sts=2 ts=8 ff=unix ft=ruby:
Something went wrong with that request. Please try again.