sharec
sharec copied to clipboard
executable file
When a file is an executable in the config repository, the file isn't executable in the target project.
Can you give an example?
https://github.com/daiyam/sharec-config/blob/master/packages/sharec-base/configs/.husky/commit-msg is one of the files.
I'm not sure, that it's a good idea to count executable file as config and I think, sharec shouldn't handle this kind of files.
Why not, it's part of a default config.
Do you want to limit sharec to only configuration files?
I've look at the code and it doesn't support binary files (like an icon, a font or an image) due to read/write in 'utf-8'.
Let's try to imagine how to satisfy your requirements in future :)
Thx
I was thinking maybe the files commencing with a shebang (#!) can become executable.
For binary files like .jpg, we could skip the merge and directly do a binary copy.
I will try to make a PR.