Class: Skeletor::Tasks

Inherits:
Object
  • Object
show all
Defined in:
lib/skeletor/tasks.rb

Overview

The Tasks class contains the included tasks that may be run after the skeleton has been created.

Class Method Summary collapse

Class Method Details

.capify(path) ⇒ Object

Creates default capistrano deployment files in the new project directory



14
15
16
# File 'lib/skeletor/tasks.rb', line 14

def self.capify(path)
  system "capify " + path
end

.git_init(path) ⇒ Object

Initializes an empty git repository in the new project directory



8
9
10
11
# File 'lib/skeletor/tasks.rb', line 8

def self.git_init(path)
  system "cd " + path + '
          git init'
end