Sha256: b69a1a57efb55b04f912e645660d027775998cc69766af65d2e00d79bfc29fe1
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
module Roro class CLI < Thor no_commands do def copy_dockerignore copy_file 'base/.dockerignore', '.dockerignore', @env_hash[:use_force] end def copy_host_example copy_file 'base/livereload/hosts.example', 'hosts.example' end def copy_docker_compose template "base/docker-compose.yml", 'docker-compose.yml', @env_hash[:force] end def copy_roro directory 'base/roro/containers/app', "roro/containers/#{@env_hash[:app_name]}", @env_hash directory 'base/roro/containers/database', "roro/containers/#{@env_hash[:database_container]}", @env_hash directory 'base/roro/containers/frontend', "roro/containers/#{@env_hash[:frontend_container]}", @env_hash end def copy_config_database_yml copy_file "base/config/database.yml", 'config/database.yml', @env_hash[:use_force] end def copy_base_files copy_circleci copy_roro copy_docker_compose copy_config_database_yml end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roro-0.3.4 | lib/roro/cli/base/base_files.rb |