hem-tasks-magento2 2.4.0 → 2.5.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 +19 -0
- 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: 3c82183b612a27ceaa60fe424594d591c2389d8c
|
4
|
+
data.tar.gz: 27c059b772bf42fec993f71e62e633b794f15d6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218bf6927ca97d0d56cb9fafe8d7db47fb6f74c813d41fc0a189c4fae06da24c7e6a8e9b9787fa6508a5a97dee85e89a0c0800df591837389d0e5d19be3c9e04
|
7
|
+
data.tar.gz: ecd3d46a6a91c9dccd398560f9c70b4f949b119e55173777cd90c1f581a73fd64933b1dca6f13bd9ba8a262a5a031f94f12b5b3e90fc5aced2afe06dff435342
|
@@ -12,6 +12,17 @@ namespace :development do
|
|
12
12
|
|
13
13
|
desc 'Compile the less files'
|
14
14
|
task :compile_less do
|
15
|
+
Rake::Task['magento2:development:compile_less_frontend'].invoke
|
16
|
+
Rake::Task['magento2:development:compile_less_backend'].invoke
|
17
|
+
end
|
18
|
+
|
19
|
+
desc 'Compile the less files for the frontend themes'
|
20
|
+
task :compile_less_frontend do
|
21
|
+
has_javascript_option = run 'bin/magento setup:static-content:deploy --help | grep -- --no-javascript || true',
|
22
|
+
capture: true
|
23
|
+
|
24
|
+
next if has_javascript_option == ''
|
25
|
+
|
15
26
|
Hem.ui.title 'Compiling Less files for the en_GB frontend'
|
16
27
|
run_command 'bin/magento setup:static-content:deploy --no-javascript '\
|
17
28
|
'--no-images --no-html --no-misc --no-fonts --no-css '\
|
@@ -20,6 +31,14 @@ namespace :development do
|
|
20
31
|
realtime: true,
|
21
32
|
indent: 2
|
22
33
|
Hem.ui.success('Compile finished')
|
34
|
+
end
|
35
|
+
|
36
|
+
desc 'Compile the less files for the admin/backend themes'
|
37
|
+
task :compile_less_backend do
|
38
|
+
has_javascript_option = run 'bin/magento setup:static-content:deploy --help | grep -- --no-javascript || true',
|
39
|
+
capture: true
|
40
|
+
|
41
|
+
next if has_javascript_option == ''
|
23
42
|
|
24
43
|
Hem.ui.title 'Compiling Less files for the en_GB and en_US backend'
|
25
44
|
run_command 'bin/magento setup:static-content:deploy --no-javascript '\
|
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: 2.
|
4
|
+
version: 2.5.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: 2016-10-
|
12
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|