kstrano 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kstrano.rb +7 -0
- data/lib/kstrano_symfony2.rb +5 -0
- data/lib/kstrano_web.rb +5 -0
- data/resources/symfony2/deploy.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cba1d2c6517a148355c491adfd77427ed9cdb812
|
4
|
+
data.tar.gz: 55c3944ef153e6df53265fdd946e403550e1f29c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c3ae041e82bf1c3cd8d3c36a2248c27c4e48fe81811b78c16eac55c26a80a6cb96dd8556514cf67479d69e9fc0c52852cb19c572a75cd85d744c4647c93c03a
|
7
|
+
data.tar.gz: a53efe4fafa2815e37d1a3b31e21b4595d588bedd5addf0ad4f8db771dbbce066504d12cb6296617a4f38313e5ef8c0ba0720ebdd6ce6810b853f0d6d2895930
|
data/lib/kstrano.rb
CHANGED
@@ -220,6 +220,13 @@ namespace :frontend do
|
|
220
220
|
run "#{try_sudo} -i sh -c 'cd #{latest_release} && grunt build'"
|
221
221
|
end
|
222
222
|
end
|
223
|
+
|
224
|
+
namespace :gulp do
|
225
|
+
desc "Executes the gulp build task"
|
226
|
+
task :build do
|
227
|
+
run "#{try_sudo} -i sh -c 'cd #{latest_release} && gulp build'"
|
228
|
+
end
|
229
|
+
end
|
223
230
|
end
|
224
231
|
|
225
232
|
before "frontend:bundler:install" do
|
data/lib/kstrano_symfony2.rb
CHANGED
@@ -25,6 +25,7 @@ module KStrano
|
|
25
25
|
set :npm_install, false
|
26
26
|
set :bower_install, false
|
27
27
|
set :grunt_build, false
|
28
|
+
set :gulp_build, false
|
28
29
|
|
29
30
|
namespace :database do
|
30
31
|
namespace :move do
|
@@ -141,6 +142,10 @@ module KStrano
|
|
141
142
|
frontend.grunt.build
|
142
143
|
end
|
143
144
|
|
145
|
+
if gulp_build
|
146
|
+
frontend.gulp.build
|
147
|
+
end
|
148
|
+
|
144
149
|
if model_manager == "doctrine"
|
145
150
|
if force_schema
|
146
151
|
symfony.doctrine.schema.update
|
data/lib/kstrano_web.rb
CHANGED
@@ -12,6 +12,7 @@ module KStrano
|
|
12
12
|
set :npm_install, true
|
13
13
|
set :bower_install, true
|
14
14
|
set :grunt_build, true
|
15
|
+
set :gulp_build, false
|
15
16
|
set :group_writable, false
|
16
17
|
|
17
18
|
before "kuma::share_childs" do
|
@@ -34,6 +35,10 @@ module KStrano
|
|
34
35
|
if grunt_build
|
35
36
|
frontend.grunt.build
|
36
37
|
end
|
38
|
+
|
39
|
+
if gulp_build
|
40
|
+
frontend.gulp.build
|
41
|
+
end
|
37
42
|
end
|
38
43
|
|
39
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kstrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kunstmaan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capifony
|