codelation-cli 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codelation.rb +1 -0
- data/lib/codelation/development.rb +3 -0
- data/lib/codelation/development/dependencies.rb +21 -0
- data/lib/codelation/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f6573fd6c767b570d5d48b8cc224816d3d81d4a
|
4
|
+
data.tar.gz: b66305e669985702bea5b1387f6b43780dddbab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a3c3aaa56d68599c77e84f1dc3ed0e1f61ca4557bf0c9797b573f055b9d41baa9a2f12a40960f2250f553e1c5102e4c93d21d4d02679d932f43293d38904d5
|
7
|
+
data.tar.gz: 0d2d2af08cdfb49bc5d824cb4d4707093de95c5a20bff7d59cf4a33f2a85acc70ccd3f7c90b0b5d4dd81d682f362cb4dd965f28011b571ced0283fc203c6163d
|
data/lib/codelation.rb
CHANGED
@@ -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
|
data/lib/codelation/version.rb
CHANGED
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.
|
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
|