Sha256: 5c037e81dd0dc53702dc92fc673715dc766992b6dfeea534df24f91aa3b7ca4b

Contents?: true

Size: 884 Bytes

Versions: 4

Compression:

Stored size: 884 Bytes

Contents

# frozen_string_literal: true

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

module NeetoCompliance
  class SyncNeetoCommons
    class SyncMisc
      def self.MISC_FILES
        [
          ".editorconfig",
          ".vscode/extensions.json",
          ".vscode/settings.json",
          ".semaphore/commands/run_eslint_on_modified_files.sh",
          ".node-version",
          ".nvmrc",
          ".ruby-version",
          ".postcssrc.yml",
          "babel.config.js",
          "app/javascript/src/types.d.ts"
        ]
      end

      def self.process
        sync_misc_files
      end

      def self.sync_misc_files
        self.MISC_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_misc.rb
neetob-0.1.2 neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_misc.rb
neetob-0.1.1 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_misc.rb
neetob-0.1.0 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_misc.rb