SublimeText / PowerShell

Support for the MS PowerShell programming language.
MIT License
312 stars 80 forks source link

Editor-Syntax #161

Open keith-hall opened 6 years ago

keith-hall commented 6 years ago

Hi,

I believe that the Editor-Syntax repository has had a few bug fixes upstream since it was copied for use in this repo. Would it make sense to have it as a git submodule, to make it easier to see which version is currently being used by this package, and easier to update this package to use the latest version?

vors commented 6 years ago

ST package manager currently uses master for install. Can it work with submodules? If so, we should do that.

keith-hall commented 6 years ago

Good question - Package Control just uses GitHub's zip download feature, so I guess it depends whether submodules are included in the zip or not. I will try to investigate this, thanks.

vors commented 6 years ago

Thank you, Keith, for taking a look at it. I was too lazy to investigate it properly. If it turns out that it doesn't, we can include a file with a commit sha and a script to auto-update it, something like that.

keith-hall commented 6 years ago

I have tested, and GitHub doesn't include submodules in the zip file. Your auto update script idea sounds like a good one.

michaelblyons commented 5 years ago

Could you (hard|soft|sym)link to the file that lives in the submodule such that GitHub adds it to the zip? And make a script to convert the file (if Git thinks the link is a file) into a link to be run after clone?

vors commented 5 years ago

Not sure is it possible or not. Currently there is no submodule because I don't know how sublime packages with submodules work.