Sha256: 15bb732d807c255bb1b15e6693d44ab0e8eb99769fa8c36516ef4ecb050f6d09

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

require 'orly/installation'
require 'orly/tester'
require 'orly/owl_printer'
require 'orly/version'
require "choice"
require "colored"

module Orly

  def self.run
    tester  = Orly::Tester.new()
    notify = []
    notify << "run 'bundle install'".red if tester.need_bundle_install?
    notify << "run 'rake db:migrate'".red if tester.need_migrate?
    Orly::OwlPrinter.print(notify) unless notify.empty?
  rescue Orly::NoRepo
    puts "O RLY: this is not a git repo".red
  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
orly-0.0.6 lib/orly.rb