Sha256: 5ddcc4d99f442bb091f4bd9d2cf0cf7c940df71b8a12d18ce013c656288a06c2

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 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?
    notify << "run 'pod install'".blue if tester.need_pod?
    notify << "run 'bower install'".green if tester.need_bower?
    notify << "run 'npm install'".green if tester.need_npm?
    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.10 lib/orly.rb