Sha256: 4396e150dc064775b1ebac0607e3e40508ab332a84fe2893f6dfe2d879ac073b
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
unless File.exist?('/.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