Sha256: 029f54a73c54957abcdf8349f45100eff728029cbc160735fa78bd6e196e618c

Contents?: true

Size: 699 Bytes

Versions: 4

Compression:

Stored size: 699 Bytes

Contents

# frozen_string_literal: true

require "neeto_compliance/github_access"
require "neeto_compliance/sync_neeto_commons"

module NeetoCompliance
  class SyncNeetoCommons
    class SyncBin
      def self.BIN_FILES
        [
          "bin/bundle",
          "bin/setup",
          "bin/update",
          "bin/webpacker",
          "bin/webpacker-dev-server",
          "bin/yarn"
        ]
      end

      def self.process
        sync_bin_files
      end

      def self.sync_bin_files
        self.BIN_FILES.each do |file|
          print "Downloading #{file}...\n"
          system(`cp #{NeetoCompliance::SyncNeetoCommons.neeto_commons_url}#{file} #{file}`)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
neeto-compliance-1.0.58 lib/neeto_compliance/sync_neeto_commons/sync_bin.rb
neetob-0.1.2 neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_bin.rb
neetob-0.1.1 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_bin.rb
neetob-0.1.0 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_bin.rb