Sha256: effdf78c1c9fb826d900b1df7b9418b5bde475fa05f29091e7e018f685f107c1
Contents?: true
Size: 469 Bytes
Versions: 6
Compression:
Stored size: 469 Bytes
Contents
unless File.exists?('/.dockerenv') namespace :gem do desc "Build the gem" task :build => :clean do sys(%w(gem build gaptool-server.gemspec)) end desc "Clean built file" task :clean do Dir.glob("*.gem") do |f| puts " * #{f}" File.unlink(f) end end desc "Push" task :push => :build do version = File.read('VERSION').strip sys(%W(gem push gaptool-server-#{version}.gem)) end end end
Version data entries
6 entries across 6 versions & 1 rubygems