👓 What did you see?
When trying to generate the code with the make clean-all generate-all command using Docker on Windows, an error occurs.
csplit --quiet --prefix=build/Generated --suffix-format=%02d.php.tmp --elide-empty-files build/messages.php /^.*[.]php$/ {*}
rm -rf src-generated/*
for file in build/Generated**; do mkdir -p src-generated/$(head -n 1 $file | sed 's/[^/]*.php$//'); done
mkdir: cannot create directory 'src-generated/Attachment.php\r': Input/output error
make[1]: *** [Makefile:25: build/messages.php] Error 1
make[1]: Leaving directory '/app/php'
make: *** [Makefile:61: generate-php] Error 2
BTW, the CONTRIBUTING.md command to run Docker is incorrect on Windows.
✅ What did you expect to see?
When generating the code using Docker on Windows, I expect it to work properly according to the documentation.
📦 Which tool/library version are you using?
Cucumber Messages master branch obtained on 03 March 2023. Docker image obtained on 04 March 2023.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
- Run the command to run Docker as written in
CONTRIBUTING.md (BTW, the correct Powershell command is docker run --volume ${PWD}:/app --user 1000 -it cucumber/cucumber-build:latest bash
- Run the
make clean-all generate-all command as written in CONTRIBUTING.md
- See error "cannot create directory 'src-generated/Attachment.php\r'"
👓 What did you see?
When trying to generate the code with the
make clean-all generate-allcommand using Docker on Windows, an error occurs.BTW, the
CONTRIBUTING.mdcommand to run Docker is incorrect on Windows.✅ What did you expect to see?
When generating the code using Docker on Windows, I expect it to work properly according to the documentation.
📦 Which tool/library version are you using?
Cucumber Messages master branch obtained on 03 March 2023. Docker image obtained on 04 March 2023.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
CONTRIBUTING.md(BTW, the correct Powershell command isdocker run --volume ${PWD}:/app --user 1000 -it cucumber/cucumber-build:latest bashmake clean-all generate-allcommand as written inCONTRIBUTING.md