hem-tasks-magento2 3.0.0 → 3.1.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/hem/tasks/magento2/development.rb +17 -11
- data/lib/hem/tasks/magento2/version.rb +1 -1
- 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: 2a9f485a61a47ce2c1c1f94fd8759604bbb1e482
|
4
|
+
data.tar.gz: 5d8a737b0f59181d3c7a97c3752295b488f0676f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 901fc52b5a708864556f466d779ffbffdf7b3aa8168bf463504b80bbaf9f47f751cc5c3f00ca97d0320fbad22bd3c2d541cb1675fae7d49b329904e525cdf75f
|
7
|
+
data.tar.gz: 7292ae4e84c9fa23001cd7bfcb0baa36fed60d54867a70b85c250acdc5391c104aa17f049272362a2659d389d5d656569c60c7c51240526a0451354c738acc88
|
@@ -23,13 +23,16 @@ namespace :development do
|
|
23
23
|
|
24
24
|
next if has_javascript_option == ''
|
25
25
|
|
26
|
+
has_force_option = run 'bin/magento setup:static-content:deploy --help | grep -- --force || true',
|
27
|
+
capture: true
|
28
|
+
|
26
29
|
Hem.ui.title 'Compiling Less files for the en_GB frontend'
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
command = 'bin/magento setup:static-content:deploy --no-javascript '\
|
31
|
+
'--no-images --no-html --no-misc --no-fonts --no-css '\
|
32
|
+
'--language en_GB --area frontend '\
|
33
|
+
'--theme Magento/luma --theme Magento/blank'
|
34
|
+
command += ' --force' if has_force_option
|
35
|
+
run_command command, realtime: true, indent: 2
|
33
36
|
Hem.ui.success('Compile finished')
|
34
37
|
end
|
35
38
|
|
@@ -40,12 +43,15 @@ namespace :development do
|
|
40
43
|
|
41
44
|
next if has_javascript_option == ''
|
42
45
|
|
46
|
+
has_force_option = run 'bin/magento setup:static-content:deploy --help | grep -- --force || true',
|
47
|
+
capture: true
|
48
|
+
|
43
49
|
Hem.ui.title 'Compiling Less files for the en_GB and en_US backend'
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
50
|
+
command += ' --force' if has_force_option
|
51
|
+
command = 'bin/magento setup:static-content:deploy --no-javascript '\
|
52
|
+
'--no-images --no-html --no-misc --no-fonts --no-css '\
|
53
|
+
'--language en_GB --language en_US --area adminhtml'
|
54
|
+
run_command command, realtime: true, indent: 2
|
49
55
|
Hem.ui.success('Compile finished')
|
50
56
|
end
|
51
57
|
|
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.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Norbert Nagy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|