Sha256: ca454056dcec9f1a911ee83079985879c04fdf910c63f9f5558ce2fbcec33ace

Contents?: true

Size: 560 Bytes

Versions: 4

Compression:

Stored size: 560 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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
legionio-0.4.3 Rakefile
legionio-0.4.2 Rakefile
legionio-0.4.1 Rakefile
legionio-0.4.0 Rakefile