Sha256: 2244e718d641ff81e3757261755658e74b75534a2618f4b53bede2891f7895a8
Contents?: true
Size: 1.62 KB
Versions: 9
Compression:
Stored size: 1.62 KB
Contents
require "thor" module Codelation class Cli < Thor desc "development:install", "Install the development tools used by Codelation" long_desc <<-LONGDESC Installs the following development tools:\r\n - Atom.app (https://atom.io)\n - Atom Packages: erb-snippets, linter, linter-csslint, linter-erb, linter-jshint, linter-php, linter-rubocop, linter-ruby, linter-scss-lint, remote-atom\n - Postgres.app (http://postgresapp.com)\n - PSequel.app (http://www.psequel.com)\n - Ruby (https://www.ruby-lang.org)\n - Ruby Gems: bundler, rubocop, scss-lint\n - Sequel Pro.app (http://www.sequelpro.com) LONGDESC def development_install print_heading("Installing Dependencies") install_dependencies unless Dir.exist?("/Applications/Atom.app") print_heading("Installing Atom.app") install_atom end print_heading("Installing Atom Packages") install_atom_packages print_heading("Installing Dot Files") install_dot_files unless Dir.exist?("/Applications/Postgres.app") print_heading("Installing Postgres.app") install_postgres end unless Dir.exist?("/Applications/PSequel.app") print_heading("Installing PSequel.app") install_psequel end print_heading("Installing Ruby") install_ruby unless Dir.exist?("/Applications/Sequel Pro.app") print_heading("Installing Sequel Pro.app") install_sequel_pro end `source ~/.bash_profile` print_heading("Adding $PATH to Atom Init Script") add_atom_init_script end end end
Version data entries
9 entries across 9 versions & 1 rubygems