bow-swift/nef

Nef fails to generate Playground if path contains spaces

Closed this issue ยท 4 comments

Steps to reproduce

  • cd; cd Desktop
  • mkdir "test spaces"
  • cd test\ spaces
  • nef playground --name test

You get these errors:

Installing Playground (test)...mv: rename /Users/dfreniche/Desktop/nef/test to /Users/dfreniche/Desktop/nef/test spaces/test.app/Contents/MacOS/test: No such file or directory
mv: rename spaces/test.app.1/* to /Users/dfreniche/Desktop/nef/test spaces/test.app/Contents/MacOS/*: No such file or directory

and

Installing Playground (test)...mv: rename /Users/dfreniche/Desktop/nef/test to /Users/dfreniche/Desktop/nef/test spaces/test.app/Contents/MacOS/test: No such file or directory
mv: rename spaces/test.app.1/* to /Users/dfreniche/Desktop/nef/test spaces/test.app/Contents/MacOS/*: No such file or directory

Thanks for alert us about it ^^ - currently, we are working in a big architectural refactor. Making nef in pure swift (say goodbye to bash scripts) and following a functional-architecture.

When we arrive at project-generator module (it will be the next one) I will take it in mind, to fix the bug. Thanks :)

Thanks for quick response!

This is not important as in "I'm-stubborn-and-won't-rename-my-folders", renaming folders would be a workaround. Except if you have your Nef Playground stored in iCloud, which is located in Library/Mobile Documents/com~apple~CloudDocs/ ๐Ÿ˜

Don't worry! It will be ready soon!! It helps to future contributors... :)

It has been fixed in this PR