hem-tasks-magento2 2.1.0 → 2.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3b7f2250ba016f7fb0681b51825b6749de2049e
|
4
|
+
data.tar.gz: 348d451f93c8032cf3df4ec19fe930addf0efc11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39e9dc1e5ad834cc58045313556f48b2218dd34b42c2c7c203c2f8ab93bfd9069ee95b762925cb7b637dfac72524c6f6c8534700c9a29a2ad56edd47720e07f4
|
7
|
+
data.tar.gz: 2b15ea8576849eeb066cef1dd19e0bb0ca8d0950292587220500cd044681518226895982b591dac0810057ffa9561efcb31cc763ada730d5babfbbd8b1f32a8c
|
@@ -7,8 +7,11 @@ task :configure do
|
|
7
7
|
configuration_file = File.join(Hem.project_config.vm.project_mount_path, 'configure-magento-config.php')
|
8
8
|
run_command "php #{configuration_file}", realtime: true, indent: 2
|
9
9
|
|
10
|
-
[
|
11
|
-
|
10
|
+
[
|
11
|
+
File.join(Hem.project_config.vm.project_mount_path, 'var', 'cache'),
|
12
|
+
File.join(Hem.project_config.vm.project_mount_path, 'var', 'page_cache')
|
13
|
+
].each do |dir|
|
14
|
+
run "sudo rm -rf '#{dir}/*'", realtime: true, indent: 2
|
12
15
|
end
|
13
16
|
|
14
17
|
Hem.ui.success('Magento2 configuration update finished')
|
@@ -35,15 +35,16 @@ namespace :install do
|
|
35
35
|
|
36
36
|
Rake::Task['magento2:configure'].invoke
|
37
37
|
Rake::Task['magento2:sample_data:add'].invoke(from_install: true)
|
38
|
-
Rake::Task['magento2:setup_script:run'].invoke
|
39
|
-
Rake::Task['magento2:index:refresh'].invoke
|
40
|
-
Rake::Task['magento2:cache:clean'].invoke
|
41
|
-
Rake::Task['magento2:development:asset_symlinks'].invoke
|
42
|
-
Rake::Task['magento2:development:compile_less'].invoke
|
43
38
|
end
|
44
39
|
|
45
40
|
Rake::Task['magento2:install:set_permissions'].execute
|
46
41
|
Rake::Task['magento2:install:optimise_autoloader'].invoke
|
42
|
+
|
43
|
+
Rake::Task['magento2:setup_script:run'].invoke
|
44
|
+
Rake::Task['magento2:index:refresh'].invoke
|
45
|
+
Rake::Task['magento2:cache:clean'].invoke
|
46
|
+
Rake::Task['magento2:development:asset_symlinks'].invoke
|
47
|
+
Rake::Task['magento2:development:compile_less'].invoke
|
47
48
|
end
|
48
49
|
|
49
50
|
desc 'Optimise the composer autoloader for a speed boost'
|
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.2.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-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|