Sha256: 3fc0cae8ccab25477ab757aada61f1493a57297ad2f0d437d9b57cbedf21c16c

Contents?: true

Size: 514 Bytes

Versions: 12

Compression:

Stored size: 514 Bytes

Contents

module Xing::CLI::Templaters
  class ControlFilesTemplater < Templater
    def template_files(arc)
      arc.copy file: "gitignore", as: ".gitignore"
      arc.copy file: "backend/gitignore", as:"backend/.gitignore"
      arc.copy file: "frontend/gitignore", as: "frontend/.gitignore"
      arc.copy file: "gitattributes", as: ".gitattributes"
      arc.copy file: "backend/gitattributes", as: "backend/.gitattributes"
      arc.copy file: "frontend/gitattributes", as: "frontend/.gitattributes"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
xing-framework-1.0.0.pre.beta.1 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-1.0.0.pre.beta lib/xing/cli/templaters/control_files_templater.rb
xing-framework-1.0.0.pre.alpha lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.3.2 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.3.1 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.3.0 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.2.9 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.2.9.beta1 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.2.8 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.2.8.beta1 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.2.7 lib/xing/cli/templaters/control_files_templater.rb
xing-framework-0.2.7.pre.beta1 lib/xing/cli/templaters/control_files_templater.rb