lslezak / build-rake

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

Rake tasks with arguments #3

Closed thecristen closed 8 years ago

thecristen commented 8 years ago

This is really cool! Thanks for developing.

For rake tasks that support arguments, is there a way to enter those in? So I can rake db:reset RAILS_ENV=test for example?

lslezak commented 8 years ago

Unfortunately the current architecture of the base build package does not allow adding custom parameters to the executed commands easily. The problem is that the tasks (and their respective commands) are collected when an Atom project (directory) in opened. You cannot modify the commands later... :confused:

Here are some possible workarounds:

I'm closing the issue as it cannot be easily implemented in a build plugin. Feel free to report an issue for the base build package...