codelation-cli 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 645252d5bc5426bd52ebef11ea76189ee7e92a92
4
- data.tar.gz: 90ce8b74a1591303955d621174c77995f11d1e34
3
+ metadata.gz: 6f6573fd6c767b570d5d48b8cc224816d3d81d4a
4
+ data.tar.gz: b66305e669985702bea5b1387f6b43780dddbab5
5
5
  SHA512:
6
- metadata.gz: a81e98ee790d1fdda2116b081ebb1870d1237f3d2c7da8cd36bf400077fde150dbf3cba61dc1a29da59bd2258c1c686355d3b426b884d72d8e7d965249ea27ec
7
- data.tar.gz: 6ddc0310c6a5f8705c6d7d399243e3fd6f32925226b5c64807a90afc15d7d0fab1ac16ee91c84512dbba9fc4f6d030e740632d98e4a5ad596edd8069ab7e8ec7
6
+ metadata.gz: 39a3c3aaa56d68599c77e84f1dc3ed0e1f61ca4557bf0c9797b573f055b9d41baa9a2f12a40960f2250f553e1c5102e4c93d21d4d02679d932f43293d38904d5
7
+ data.tar.gz: 0d2d2af08cdfb49bc5d824cb4d4707093de95c5a20bff7d59cf4a33f2a85acc70ccd3f7c90b0b5d4dd81d682f362cb4dd965f28011b571ced0283fc203c6163d
@@ -2,6 +2,7 @@ require_relative "codelation/base"
2
2
  require_relative "codelation/development"
3
3
  require_relative "codelation/development/atom"
4
4
  require_relative "codelation/development/atom_packages"
5
+ require_relative "codelation/development/dependencies"
5
6
  require_relative "codelation/development/dot_files"
6
7
  require_relative "codelation/development/install_methods"
7
8
  require_relative "codelation/development/postgres"
@@ -4,6 +4,9 @@ module Codelation
4
4
  class Cli < Thor
5
5
  desc "development:install", "Install the development tools used by Codelation"
6
6
  def development_install
7
+ print_heading("Installing Dependencies")
8
+ install_dependencies
9
+
7
10
  print_heading("Installing Atom.app")
8
11
  install_atom
9
12
 
@@ -0,0 +1,21 @@
1
+ require "thor"
2
+
3
+ module Codelation
4
+ class Cli < Thor
5
+ private
6
+
7
+ # Install dependencies for building and installing everything else.
8
+ def install_dependencies
9
+ print_command("Installing Homebrew from http://brew.sh")
10
+ `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
11
+
12
+ run_command("brew install bash")
13
+ run_command("brew install git")
14
+ run_command("brew install imagemagick")
15
+ run_command("brew install make")
16
+ run_command("brew install openssl")
17
+ run_command("brew install v8")
18
+ run_command("brew install wget")
19
+ end
20
+ end
21
+ end
@@ -3,7 +3,7 @@ require "open-uri"
3
3
  require "thor"
4
4
 
5
5
  module Codelation
6
- VERSION = "0.0.7"
6
+ VERSION = "0.0.8"
7
7
 
8
8
  class Cli < Thor
9
9
  desc "update", "Update codelation-cli to latest version"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codelation-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison
@@ -86,6 +86,7 @@ files:
86
86
  - lib/codelation/development.rb
87
87
  - lib/codelation/development/atom.rb
88
88
  - lib/codelation/development/atom_packages.rb
89
+ - lib/codelation/development/dependencies.rb
89
90
  - lib/codelation/development/dot_files.rb
90
91
  - lib/codelation/development/install_methods.rb
91
92
  - lib/codelation/development/postgres.rb