hem-tasks-magento2 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a9f485a61a47ce2c1c1f94fd8759604bbb1e482
4
- data.tar.gz: 5d8a737b0f59181d3c7a97c3752295b488f0676f
3
+ metadata.gz: f0560f4bb859d19438e64e96f3f9a6d4ec8482fa
4
+ data.tar.gz: 8beab33e04622f22036d95c508a7ceb6d770e1ac
5
5
  SHA512:
6
- metadata.gz: 901fc52b5a708864556f466d779ffbffdf7b3aa8168bf463504b80bbaf9f47f751cc5c3f00ca97d0320fbad22bd3c2d541cb1675fae7d49b329904e525cdf75f
7
- data.tar.gz: 7292ae4e84c9fa23001cd7bfcb0baa36fed60d54867a70b85c250acdc5391c104aa17f049272362a2659d389d5d656569c60c7c51240526a0451354c738acc88
6
+ metadata.gz: 1d30a5995813529712371201d00be4f1fe92d07a912e5e1b44260bb7ca7b33d978ef5def1f79cbfef0cdd5aa1f0b16373c6def024a138c1efd94582ded62154d
7
+ data.tar.gz: 7c94594a1e795d41f97092ab3ca3033c192db05619a2ae243ebcbd91f3df9533cac9d10a0ebdd86c964b82179d513a628e5a9c7f7a8d8e726b6879724b792543
@@ -19,12 +19,12 @@ namespace :development do
19
19
  desc 'Compile the less files for the frontend themes'
20
20
  task :compile_less_frontend do
21
21
  has_javascript_option = run 'bin/magento setup:static-content:deploy --help | grep -- --no-javascript || true',
22
- capture: true
22
+ capture: true
23
23
 
24
24
  next if has_javascript_option == ''
25
25
 
26
26
  has_force_option = run 'bin/magento setup:static-content:deploy --help | grep -- --force || true',
27
- capture: true
27
+ capture: true
28
28
 
29
29
  Hem.ui.title 'Compiling Less files for the en_GB frontend'
30
30
  command = 'bin/magento setup:static-content:deploy --no-javascript '\
@@ -39,18 +39,18 @@ namespace :development do
39
39
  desc 'Compile the less files for the admin/backend themes'
40
40
  task :compile_less_backend do
41
41
  has_javascript_option = run 'bin/magento setup:static-content:deploy --help | grep -- --no-javascript || true',
42
- capture: true
42
+ capture: true
43
43
 
44
44
  next if has_javascript_option == ''
45
45
 
46
46
  has_force_option = run 'bin/magento setup:static-content:deploy --help | grep -- --force || true',
47
- capture: true
47
+ capture: true
48
48
 
49
49
  Hem.ui.title 'Compiling Less files for the en_GB and en_US backend'
50
- command += ' --force' if has_force_option
51
50
  command = 'bin/magento setup:static-content:deploy --no-javascript '\
52
51
  '--no-images --no-html --no-misc --no-fonts --no-css '\
53
52
  '--language en_GB --language en_US --area adminhtml'
53
+ command += ' --force' if has_force_option
54
54
  run_command command, realtime: true, indent: 2
55
55
  Hem.ui.success('Compile finished')
56
56
  end
@@ -1,7 +1,7 @@
1
1
  module Hem
2
2
  module Tasks
3
3
  module Magento2
4
- VERSION = '3.1.0'.freeze
4
+ VERSION = '3.1.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hem-tasks-magento2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norbert Nagy