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

Version Path
gaptool-server-0.8.5 tasks/gem.rb
gaptool-server-0.8.4 tasks/gem.rb
gaptool-server-0.8.3 tasks/gem.rb
gaptool-server-0.8.2 tasks/gem.rb
gaptool-server-0.8.1 tasks/gem.rb
gaptool-server-0.8.0 tasks/gem.rb