Sha256: 4cd1ca689bcfbebe7f123390ab931b5b5268f1039956e5256b9ecc48bc9c7120

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"

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

1 entries across 1 versions & 1 rubygems

Version Path
network_connector-0.1.0 Rakefile