Sha256: bd2efa0122d292dca8392f2626102f55a053f0def854c1a7640551afff051ce6

Contents?: true

Size: 650 Bytes

Versions: 2

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require_relative "lib/network_connector/version"

RSpec::Core::RakeTask.new(:spec)

require "rubocop/rake_task"

RuboCop::RakeTask.new

task default: %i[spec rubocop]

GEM_NAME = "network_connector"
GEM_VERSION = NetworkConnector::VERSION

# task :default => :build

task :build do
  system "gem build " + GEM_NAME + ".gemspec"
end

task :install => :build do
  system "gem install " + GEM_NAME + "-" + GEM_VERSION + ".gem"
end

task :publish => :build do
  system 'gem push ' + GEM_NAME + "-" + GEM_VERSION + ".gem"
end

task :clean do
  system "rm *.gem"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
network_connector-0.1.2 Rakefile
network_connector-0.1.1 Rakefile