lslezak / build-rake

An extension for the atom-build package providing Rake support
MIT License
3 stars 7 forks source link

Make Rake platform configurable #10

Closed claui closed 3 years ago

claui commented 6 years ago

Since commit 30dce5b, rake-build errors out when running it under Windows with Ruby installed in a Unix-style subsystem like Babun or Cygwin. The error happens because the plugin currently expects the Rake executable to be named rake.bat, while it’s actually rake even though it’s on Windows.

This PR adds a configuration setting called rakePlatform, which defaults to the same auto-detection that was already implemented. It can be changed either via config.cson or the Settings pane.

claui commented 3 years ago

I no longer use Atom so I can’t be bothered to fix the tests this PR is breaking. Closing.