Sha256: e5be7d63d72f95646c034826a6fcb66a9882ebb45621bb1de6ec41567b0664f8

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 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") if false
    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.1.1 Rakefile