Sha256: 07940b0e23f074ef15268afe12110c63a5208c73d739b151c47f637c87b05497

Contents?: true

Size: 285 Bytes

Versions: 7

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

task :install do
  template_path = File.expand_path('../../templates', __FILE__)

  if Kubec::Application.config_exist?
    warn '[SKIP] Kubec is already setup'
    exit 1
  end

  FileUtils.cp_r("#{template_path}/.", '.')
  puts 'Kubec Initialized'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kubec-0.6.1 lib/kubec/tasks/install.rake
kubec-0.6.0 lib/kubec/tasks/install.rake
kubec-0.5.0 lib/kubec/tasks/install.rake
kubec-0.4.1 lib/kubec/tasks/install.rake
kubec-0.4.0 lib/kubec/tasks/install.rake
kubec-0.3.6 lib/kubec/tasks/install.rake
kubec-0.3.5 lib/kubec/tasks/install.rake