Sha256: aa82585af61c2c5a95600ba5e90bd3b694e58b804b3c01ca3b00cce8a8fa2d8d

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

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

task default: :spec

task test: :rubocop
task test: :spec
task test: :start

task :rubocop do
  sh 'rubocop'
end

task :start do
  sh 'bin/legion start -d'
  sh 'bin/legion stop'
end

namespace :deploy do
  require 'legion/version.rb'
  desc 'Deploy alpha/test'
  task :test do
    Gem.yank_gem('legion', "#{Legion::VERSION}a")
    puts Gem.query('legion-transport').inspect
    puts Gem.methods(false)
    puts Legion::VERSION
  end

  task :staging do
  end

  task :production do
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legionio-0.2.0 Rakefile