Remove hardcoded paths for .sketch files
project command creates a folder structure and copies .sketch files. Paths for the files are hardcoded:
https://github.com/artemnovichkov/sasha/blob/e58db8f8d14c65dfbc466cf34810328df4680743/Sources/SashaCore/Tasks/ProjectTask.swift#L52-L62
I want to update project.sasha configuration file format and add possibility to add these paths, for example:
Main
-folder
--{ sketch_ios.sketch }
Also, I want to improve parsing of configuration files: https://github.com/artemnovichkov/sasha/blob/e58db8f8d14c65dfbc466cf34810328df4680743/Sources/SashaCore/Services/FolderService.swift#L36-L68
@artemnovichkov Maybe this will also help. After clean installing sasha. I get the following output.
/usr/local/Cellar/sasha/2.0.3
βββ INSTALL_RECEIPT.json
βββ LICENSE
βββ README.md
βββ bin
βββ sasha
1 directory, 4 files
@stalinkay, this issues is not related to installation. When you run project command, Sasha also adds .sketch templates. But paths for these files are hardcoded.
@artemnovichkov Cool. There's currently no file at ~/.sasha/project.sasha, in fact ~/.sasha is never created.
I guess I forgot to add coping of project.sasha here:
https://github.com/artemnovichkov/sasha/blob/e58db8f8d14c65dfbc466cf34810328df4680743/Makefile#L22-L24
It would be great if you fix it
@artemnovichkov Cool. I'll hop on it.