# 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