twolfson / sublime-plugin-tests

Testing framework for Sublime Text plugins
The Unlicense
22 stars 2 forks source link

Programatically detect `subl`, `sublime_text`, or other path to executable #6

Closed twolfson closed 10 years ago

twolfson commented 11 years ago

During Travis integration, I ran into an issue of a PPA installing subl over sublime_text. This brought of the point of inconsistencies between systems and the need to make this work for Windows.

The inconvenient way to do this is a ENV variable (every platform has those).

The convenient way is to sniff for various known paths (using which on Unix systems).

twolfson commented 11 years ago

Users should be able to override via an environment variable (e.g. SUBLIME_TEXT_PATH)

twolfson commented 10 years ago

Released in 1.0.0 with transition to sublime-info under the hood.