konstruct 0.6.0 → 0.7.0
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/lib/cli/{skeleton.rb → project.rb} +1 -1
- data/lib/cli/scaffold.rb +51 -1
- data/lib/konstruct.rb +4 -4
- data/lib/konstruct/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee931a7380555cf3c1c3c8a22b7c7738250d53ab
|
4
|
+
data.tar.gz: 10b2369bca9a06902c37284a4915fd2847da42ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c52c6f189a2c3bc867018411f1a93feecfd30c864df5e084de51731b54eedba130ac3049d47d8ede6b9cb01d0442a99b8defdb2e8ff715495bfbd02b3dd095bb
|
7
|
+
data.tar.gz: 9124dff1088f4daee812fd655eab1c1515bec873e3b2084405011e36bce143314262b93ace76b5bba73c3ffe51cda17662834a8dc524bca5a2c3fee6fdf4b2ea
|
data/lib/cli/scaffold.rb
CHANGED
@@ -60,6 +60,8 @@ module Konstruct
|
|
60
60
|
|
61
61
|
# B.4. INSTALL CSS ----------------------------------------------------------------------------------------
|
62
62
|
|
63
|
+
msg.paragraph("Installing CSS Assets.")
|
64
|
+
|
63
65
|
css_dir = "#{path}/assets/scss"
|
64
66
|
|
65
67
|
fs.make_dir(css_dir)
|
@@ -92,6 +94,8 @@ module Konstruct
|
|
92
94
|
|
93
95
|
# B.5. INSTALL JS -----------------------------------------------------------------------------------------
|
94
96
|
|
97
|
+
msg.paragraph("Installing JS Assets.")
|
98
|
+
|
95
99
|
js_dir = "#{path}/assets/js"
|
96
100
|
|
97
101
|
if type == :Angular
|
@@ -112,7 +116,14 @@ module Konstruct
|
|
112
116
|
|
113
117
|
# B.6. INSTALL NPM ASSETS ---------------------------------------------------------------------------------
|
114
118
|
|
115
|
-
|
119
|
+
msg.paragraph("Installing NPM Assets. This might take a while.")
|
120
|
+
|
121
|
+
FileUtils.cd("#{path}/assets") do
|
122
|
+
|
123
|
+
`npm install`
|
124
|
+
|
125
|
+
end
|
126
|
+
|
116
127
|
msg.success("Installed NPM Assets")
|
117
128
|
|
118
129
|
# B.6. END ------------------------------------------------------------------------------------------------
|
@@ -198,6 +209,45 @@ module Konstruct
|
|
198
209
|
|
199
210
|
# B.5. END ------------------------------------------------------------------------------------------------
|
200
211
|
|
212
|
+
# B.6. THANKS FOR INSTALLING ------------------------------------------------------------------------------
|
213
|
+
|
214
|
+
puts ""
|
215
|
+
puts ""
|
216
|
+
puts Paint[' $III7IIIIIIIIIIIIIIIIIIIIIIIIII: ', "#de544b"]
|
217
|
+
puts Paint[' ZZZZZZ$7IIIIIIIIIIIIIIIIIIIIIIII ', "#de544b"]
|
218
|
+
puts Paint[' ZZZZZZZZZZZZ$7IIIIIIIIIIIIIIIIII ', "#de544b"]
|
219
|
+
puts Paint[' ZZZZZZZZZZZZZZZZZZZ$IIIIIIIIIIII~', "#de544b"]
|
220
|
+
puts Paint[' ZZZZZZZZZZZZZZZZZZZZZZZ:,:+IIIIII', "#de544b"]
|
221
|
+
puts Paint[' ZZZZZZZZZZZZZZZZZZZZZZ. :?', "#de544b"]
|
222
|
+
puts Paint[' I$ZZZZZZZZZZZZZZZZZZ7 ', "#de544b"]
|
223
|
+
puts Paint[' III$ZZZZZZZZZZZZZZZ~ ', "#de544b"]
|
224
|
+
puts Paint[' IIIII7ZZZZZZZZZZZZ ', "#de544b"]
|
225
|
+
puts Paint[' IIIIIII7ZZZZZZZZ$ ', "#de544b"]
|
226
|
+
puts Paint[' IIIIIIIIIIZZZZZ: ', "#de544b"]
|
227
|
+
puts Paint[' IIIIIIIIIIIIZI ', "#de544b"]
|
228
|
+
puts Paint[' IIIIIIIIIIIIII ', "#de544b"]
|
229
|
+
puts Paint[' IIIIIIIIIIIIIIII= ', "#de544b"]
|
230
|
+
puts Paint[' IIIIIIIIIIIIIIIII7= ', "#de544b"]
|
231
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIII~ ', "#de544b"]
|
232
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIIIII= ', "#de544b"]
|
233
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIIIIII7~ ', "#de544b"]
|
234
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIIIIIIIIII.. ', "#de544b"]
|
235
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIIIIIIIIIII7 ', "#de544b"]
|
236
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII,.', "#de544b"]
|
237
|
+
puts Paint[' IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII7', "#de544b"]
|
238
|
+
puts ""
|
239
|
+
puts ""
|
240
|
+
puts Paint[" GO BUILD SOMETHING AWESOME!", "#999999"]
|
241
|
+
puts ""
|
242
|
+
puts Paint[" Successfully installed your #{type} site.", "#999999"]
|
243
|
+
puts ""
|
244
|
+
puts Paint[" You can run the dev tools with '$ konstruct develop' or '$ konstruct documentation' to get help.", "#999999"]
|
245
|
+
puts ""
|
246
|
+
|
247
|
+
exit(0)
|
248
|
+
|
249
|
+
# B.6. END ------------------------------------------------------------------------------------------------
|
250
|
+
|
201
251
|
end
|
202
252
|
|
203
253
|
end
|
data/lib/konstruct.rb
CHANGED
@@ -32,7 +32,7 @@ require_relative 'utilities/git'
|
|
32
32
|
# A.2.2. CLI SCRIPTS
|
33
33
|
|
34
34
|
require_relative 'cli/scaffold'
|
35
|
-
require_relative 'cli/
|
35
|
+
require_relative 'cli/project'
|
36
36
|
require_relative 'cli/documentation'
|
37
37
|
require_relative 'cli/init'
|
38
38
|
require_relative 'cli/gulp'
|
@@ -115,15 +115,15 @@ end
|
|
115
115
|
|
116
116
|
# -- USAGE: $ konstruct skeleton
|
117
117
|
|
118
|
-
command :
|
118
|
+
command :project do |c|
|
119
119
|
|
120
|
-
c.syntax = 'konstruct
|
120
|
+
c.syntax = 'konstruct project'
|
121
121
|
c.summary = 'Builds a skeleton project folder structure for you.'
|
122
122
|
c.description = 'Builds out a new global project file structure for you to get started with quickly.'
|
123
123
|
c.example 'Structure:', '[1--ci, 2--design, 3--working, 4--www]'
|
124
124
|
c.action do |args, options|
|
125
125
|
|
126
|
-
cli.
|
126
|
+
cli.new_project(projectDir)
|
127
127
|
|
128
128
|
end
|
129
129
|
|
data/lib/konstruct/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: konstruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Kirsten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -133,8 +133,8 @@ files:
|
|
133
133
|
- lib/cli/documentation.rb
|
134
134
|
- lib/cli/gulp.rb
|
135
135
|
- lib/cli/init.rb
|
136
|
+
- lib/cli/project.rb
|
136
137
|
- lib/cli/scaffold.rb
|
137
|
-
- lib/cli/skeleton.rb
|
138
138
|
- lib/konstruct.rb
|
139
139
|
- lib/konstruct/config.rb
|
140
140
|
- lib/konstruct/version.rb
|