Sha256: 61633109bdc4ceefc57bc6f64150021140d5eab87e887056ca77afa01aa00770
Contents?: true
Size: 1.82 KB
Versions: 1
Compression:
Stored size: 1.82 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.7" 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"] s.executables = %w(vmc vmc.bat) # Uncomment this to add a dependency s.add_dependency "main", "~> 4.3.0" s.add_dependency "arrayfields", "~> 4.7.4" s.add_dependency "fattr", "~> 2.2.0" s.add_dependency "json_pure", "~> 1.4.6" s.add_dependency "mime-types", "~> 1.16" s.add_dependency "rubyzip2", "~> 2.0.1" s.add_dependency "highline", "~> 1.6.1" s.bindir = "bin" 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 namespace "bundler" do desc "Install gems" task "install" do sh("bundle install") end desc "Install gems for test" task "install:test" do sh("bundle install --without development production") end desc "Install gems for production" task "install:production" do sh("bundle install --without development test") end desc "Install gems for development" task "install:development" do sh("bundle install --without test production") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vmc-0.0.7 | Rakefile |