Class: NeetoCompliance::SyncNeetoCommons::SyncMisc
- Inherits:
-
Object
- Object
- NeetoCompliance::SyncNeetoCommons::SyncMisc
- Defined in:
- lib/neeto_compliance/sync_neeto_commons/sync_misc.rb
Class Method Summary collapse
Class Method Details
.MISC_FILES ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/neeto_compliance/sync_neeto_commons/sync_misc.rb', line 9 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 |
.process ⇒ Object
24 25 26 |
# File 'lib/neeto_compliance/sync_neeto_commons/sync_misc.rb', line 24 def self.process sync_misc_files end |
.sync_misc_files ⇒ Object
28 29 30 31 32 33 |
# File 'lib/neeto_compliance/sync_neeto_commons/sync_misc.rb', line 28 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 |