Sha256: 3f5bcfad0f1aeddd3875fd183b64d8b35e8de7117f89128026cc238813d3b894
Contents?: true
Size: 899 Bytes
Versions: 6
Compression:
Stored size: 899 Bytes
Contents
lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'downterm/version' GEMSPEC = `git ls-files | grep gemspec`.chomp GEM = "downterm-#{Downterm::VERSION}.gem" desc "Build downterm.gem" task :build => :perms do system "gem", "build", GEMSPEC end desc "Ensure correct permissions for downterm.gem" task :perms do system "chmod", "-R", "a+rX", *`git ls-files`.chomp.split("\n") end desc "Tag the latest version of downterm" task :tag do system "git", "tag", "-s", "-m", "downterm v#{Downterm::VERSION}", "v#{Downterm::VERSION}" end desc "Install downterm.gem" task :install => :build do system "gem", "install", GEM end desc "Push gem to RubyGems" task :release => [:tag, :build] do system "gem", "push", GEM end desc "Clean built products" task :clean do rm Dir.glob("*.gem"), :verbose => true end task :default => :build
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
downterm-0.1.8 | Rakefile |
downterm-0.1.7 | Rakefile |
downterm-0.1.6 | Rakefile |
downterm-0.1.5 | Rakefile |
downterm-0.1.4 | Rakefile |
downterm-0.1.3 | Rakefile |