Sha256: b5e029176f8105d25c01fcc1d19bc7f3fdf060ca288b5342a80f373e0f5b45bb
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'json' require 'fileutils' require 'open3' require 'arli' require_relative 'base' module Arli module Commands class Update < Base def initialize(options) super(options) self.arli_file = options[:arli_file] ? ArliFile.new(options[:arli_file]) : ArliFile.new end def run all_dependencies(command, 'name') end def update_dependency(name) cmd = "cd #{name} && git pull --rebase 2>&1" yield(cmd) if block_given? cmd end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arli-0.3.2 | lib/arli/commands/update.rb |
arli-0.3.1 | lib/arli/commands/update.rb |