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 +4 -4
- data/lib/hem/tasks/magento2/development.rb +5 -5
- data/lib/hem/tasks/magento2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0560f4bb859d19438e64e96f3f9a6d4ec8482fa
|
4
|
+
data.tar.gz: 8beab33e04622f22036d95c508a7ceb6d770e1ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|