Sha256: 022216726b367751e28d1d785396b7311b3f4c5d29556b4d27beade696c379e0
Contents?: true
Size: 974 Bytes
Versions: 1
Compression:
Stored size: 974 Bytes
Contents
require 'yaml' def git_commit message git add: '-A' git commit: "-a -m '#{message}'" end def root @root ||= File.expand_path File.dirname __FILE__ end def read_template *path File.read File.join root, "templates", *path end def perform task eval File.read File.join root, "templates", "#{task}.rb" end perform :git_init perform :change_source perform :install_gems perform :bundle_install perform :add_gitignore # perform :stop_robots # stop google perform :skeleton perform :config_timezone perform :config_scaffold perform :serve_static perform :database_example perform :figaro perform :active_job perform :simple_form perform :rspec perform :guard perform :static_pages perform :devise perform :rails_layout # authform for device perform :user # perform :ldap # who needs this perform :controller_helpers perform :authentication_token perform :rolify perform :authorization perform :seeds perform :resources git_commit "project created" perform :run_test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crosstie-0.0.6 | lib/crosstie/base.rb |