lei 0.2.1 → 0.2.2
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 +4 -4
- data/bin/lei +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d6155278273020c7a0e15766cfe8340d41261fd5a069ae96b2e402b4b902d8bc
|
|
4
|
+
data.tar.gz: e854b37031e3c1cad8e5ccae62148253714abac10c4071d6afca92a2fa22c177
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 295f5cd5b233cba6a043b23e6d1f5763dfff971f011c6ba639a00a5595f3ddfe03a482e3bd8eea66f67dd298e76911a4bad5f9d1b6ea3433b1f17bcd9f5fca29
|
|
7
|
+
data.tar.gz: a0b0595d22397692c34b3f8f8f26cc096e7fdb9bed7b3bca728e22695cf95455ea4831d47f2ad5a4c2f1c2643f7ec3c5021299977e3cb4d87b6ce7df6f063dfc
|
data/bin/lei
CHANGED
|
@@ -20,6 +20,7 @@ class Lei
|
|
|
20
20
|
`custom`: Generates a single, new, custom page. `ARG`: Page subject.
|
|
21
21
|
`help`: Get info about Lei and its commands.
|
|
22
22
|
`install`: Generates a brand-new installation of Lei.
|
|
23
|
+
`install_deps`: Installs dependencies only, for use with existing app.
|
|
23
24
|
|
|
24
25
|
MAN
|
|
25
26
|
end
|
|
@@ -29,6 +30,10 @@ class Lei
|
|
|
29
30
|
|
|
30
31
|
Dir.glob("#{@root}/_app/_*.rb").each { |f| require f }
|
|
31
32
|
|
|
33
|
+
install_deps
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def install_deps
|
|
32
37
|
`bundle install`
|
|
33
38
|
`npm install`
|
|
34
39
|
`npm install -g gulp-cli`
|
|
@@ -53,6 +58,8 @@ class Lei
|
|
|
53
58
|
require "#{@root}/_new/_#{arg0}"
|
|
54
59
|
|
|
55
60
|
add_new(ARGV[1])
|
|
61
|
+
when "deps"
|
|
62
|
+
install_deps
|
|
56
63
|
when "help"
|
|
57
64
|
help
|
|
58
65
|
else
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lei
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ezra Chang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -66,7 +66,7 @@ files:
|
|
|
66
66
|
- example/helpers/global_utils.rb
|
|
67
67
|
- example/spec/spec_helper.rb
|
|
68
68
|
- example/spec/test/content_helper_spec.rb
|
|
69
|
-
homepage: https://
|
|
69
|
+
homepage: https://github.com/emchang3/lei
|
|
70
70
|
licenses:
|
|
71
71
|
- MIT
|
|
72
72
|
metadata: {}
|