-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMagentoWorkflow.sublime-settings
50 lines (44 loc) · 1.58 KB
/
MagentoWorkflow.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// MagentoWorkflow default settings
//
{
// How to call 'bin/magento' command
// cmd_prefix will be prepended automatically
"bin_magento_command": "bin/magento",
// The list of resources to clean
// When using grunt during theme developement it's useful to
// remove 'css_theme_resources' entry from the list.
"resources": [
"css_module",
"css_theme",
"js",
"requirejs",
"translation",
"generated"
],
//////////////////////////////
// Docker-specific settings //
//////////////////////////////
// service - Docker service with Magento. Autodetected.
// Change this option when autodetection doesn't work properly.
// Example:
// "service": "phpfpm",
//
"service": "",
// cmd_prefix - Prefix to add to every terminal command. Autodetected.
// Change this option when autodetection doesn't work properly.
//
"cmd_prefix": "docker-compose exec -T {service}",
// sync_command - Command to run when a file is changed and it must be
// copied to the docker container.
// Don't need to sync anything? Consider removing folders
// from "sync_folders" option
//
"sync_command": "docker cp {filepath} $(docker-compose ps -q {service}|awk '{print $1}'):/var/www/html/{filepath}",
// sync_folders - sync_command will sync the files from these folders only.
// Must be relative to magento_root.
//
"sync_folders": [
"/vendor/"
]
}