Sha256: ef546c5d5c7d19918efc5803753cbea93c9a96a0e0019b3d58f5c0b4b609b367
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
require 'rubygems' unless ENV['NO_RUBYGEMS'] require 'rake/gempackagetask' require 'rubygems/specification' require 'date' require 'spec/rake/spectask' spec = Gem::Specification.new do |s| s.name = "vmc" s.version = "0.0.4" s.author = "Ezra Zygmuntowicz" s.email = "ez@vmware.com" s.homepage = "http://vmware.com" s.description = s.summary = "A gem that provides command line access to the vmware cloud application platform" s.platform = Gem::Platform::RUBY s.has_rdoc = true s.extra_rdoc_files = ["README", "LICENSE"] # Uncomment this to add a dependency # s.add_dependency "foo" s.require_path = 'lib' s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,spec,vendor}/**/*") end task :default => :package Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end desc "install the gem locally" task :install => [:package] do sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}} end desc "create a gemspec file" task :make_spec do File.open("#{GEM}.gemspec", "w") do |file| file.puts spec.to_ruby end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vmc-0.0.4 | Rakefile |