I am trying to set my development environment for an AEM project in VSCode. I want to create various tasks to automate the syncing, fot that I need to use repo, which only works in the cygwin shell.
The example in the repo documentation for the task definition is the following, but it's thought for mac.
{
"label": "put file",
"type": "shell",
"command": "repo put -f ${file}",
"problemMatcher": []
}
This is what I've been trying, it initializes the cygwin shell but doesn't seem to execute the command and it doesn't finish the task.
{
"label": "put file",
"type": "shell",
"command": "repo put -f ${file}",
"options": {
"shell": {
"executable": "C:\\cygwin64\\bin\\bash.exe",
"args": ["/bin/xhere", "/bin/bash"]
}
},
"problemMatcher": []
}
Can somebody help me? thanks!