Sha256: e3ca780d7405411058da29234973e98d449adb2a30c5bf19e7f52b8aaf07ada4

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 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 'dotenv-sync merge'".red if tester.need_dotenv?
    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

2 entries across 2 versions & 1 rubygems

Version Path
orly-0.0.12 lib/orly.rb
orly-0.0.11 lib/orly.rb