Sha256: 922d5c1be96d8e9e29224b8cb4b04a7adc95b3ee98b1c60814e57d2d5b1a35cd

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 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'
  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

3 entries across 3 versions & 1 rubygems

Version Path
legionio-0.3.2 Rakefile
legionio-0.3.1 Rakefile
legionio-0.3.0 Rakefile