kstrano 1.2.0 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d4c2c155753c6bc00bad8871f5a7982c8e0371f
4
- data.tar.gz: 8c1f73ad2de6cf5ac2ae72b9b3ad7dce9b03ae0c
3
+ metadata.gz: cba1d2c6517a148355c491adfd77427ed9cdb812
4
+ data.tar.gz: 55c3944ef153e6df53265fdd946e403550e1f29c
5
5
  SHA512:
6
- metadata.gz: bf5ea25e34b7495c609acb1ae4b1df7b80cd7249a7b01ede07de71d058accd1fa460673a588de979b44da3beb5442f8293493c63c48cc9d0999ae14698460b96
7
- data.tar.gz: 9c6312fdfe32536511e1da2631be87fa6627dbdc930db641c86bd1f24a854aa511317095d343344c560a49c7bb572edfce128de3a1b4f59d9737544900142988
6
+ metadata.gz: 3c3ae041e82bf1c3cd8d3c36a2248c27c4e48fe81811b78c16eac55c26a80a6cb96dd8556514cf67479d69e9fc0c52852cb19c572a75cd85d744c4647c93c03a
7
+ data.tar.gz: a53efe4fafa2815e37d1a3b31e21b4595d588bedd5addf0ad4f8db771dbbce066504d12cb6296617a4f38313e5ef8c0ba0720ebdd6ce6810b853f0d6d2895930
@@ -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
@@ -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
@@ -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
@@ -7,6 +7,7 @@ set :bundler_install, true
7
7
  set :npm_install, true
8
8
  set :bower_install, true
9
9
  set :grunt_build, true
10
+ set :gulp_build, false
10
11
 
11
12
  # When using Symfony 2.0
12
13
  # set :use_composer, false
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.2.0
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-06-19 00:00:00.000000000 Z
11
+ date: 2014-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capifony