Method: Spline::NewCommand#setup_project

Defined in:
lib/spline/commands/concrete_commands/new_command.rb

#setup_projectObject



13
14
15
16
17
18
# File 'lib/spline/commands/concrete_commands/new_command.rb', line 13

def setup_project
  template('templates/samples/my_first_step.tt', "#{name}/process_definition/steps/example/my_first_step.rb")
  template('templates/samples/my_second_step.tt', "#{name}/process_definition/steps/example/my_second_step.rb")
  template('templates/samples/my_process.tt', "#{name}/process_definition/processes/my_process.rb")
  say("spline is setup, don't forget to cd into #{name}")
end