ziglang / sublime-zig-language

Zig language support for Sublime Text
MIT License
85 stars 25 forks source link

Make compatible with TextMate #32

Closed aequitas closed 4 years ago

aequitas commented 4 years ago

This change will make this language usable as a TextMate Bundle.

I have used my name/email as contact for the Bundle. Feel free to change.

aequitas commented 4 years ago

I don't know of any standard patterns to ci this. I might try if I can ci this by comparing screenshots of rendered syntax highlighting. Or at least loading the app with the syntax file and check if there are no errors (like missing uuid).

What might be nice to have is a check to verify if all yaml files are converted to their counterparts. Do you know of any other tool to convert the files other than PackageDev? I tried to find what PackageDev uses underneath but was not able to find it yet.

aequitas commented 4 years ago

I added a Travis CI build which verifies if the bundle loads correctly in TextMate and if at least one of the commands can be executed to build a binary from Zig source. The result can be viewed here: https://travis-ci.com/aequitas/sublime-zig-language/builds/145422495

I first tried using Github actions but their environment does not support accessibility options required to interact with Textmate to trigger the build.

emekoi commented 4 years ago

@aequitas, sorry for not seeing this earlier, but thanks for the contribution! regarding your name and email i think that would be more of a question to ask andrew about.