[Ironruby-core] Make IR run as an external tool in VS

Ivan Porto Carrero ivan at flanders.co.nz
Thu Jul 30 10:31:44 EDT 2009


can you not define an external tool. then remember its index in the external
tools list and link it to a button?
That external tool can be a batch script that includes CALL dev.bat for
example.

http://msdn.microsoft.com/en-us/library/9814d200(VS.80).aspx

the batch script could be as simple as:

@ECHO OFF
CALL dev.bat
ir %*


---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)



On Thu, Jul 30, 2009 at 4:07 PM, Michael Delaney <lists at ruby-forum.com>wrote:

> hi,
> was wondering if anyone could help.
> i'd like to be able to edit a ruby file in visual studio and just fire a
> key seqeunce to run the file.
>
> similar to how rob conery set up the machine specifications runner in
> his IDE.
> this pushed all the output nicely to the output window in vs.
>
> i gave it a try but am not sure how to replicate how the dev.bat file
> works.
>
> anyone else done this??
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090730/77e382e1/attachment.html>


More information about the Ironruby-core mailing list