-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Execute local file / Use local shell #3901
Comments
Comment by redmunds
|
Comment by KuenzelIT Hey, thanks. I thought about that and looked into it. But the LESS compiler is written in javascript, so it's not a problem to call it. The Sass compiler on the opposite is written in Ruby. |
Comment by redmunds Brackets has a built in nodejs server, so I think you can it to run Ruby. Take a look at the brackets/src/extensions/default/StaticServer extension as an example. |
Comment by KuenzelIT Thank you, I'll check it out. |
Comment by KuenzelIT Sorry, but I couldn't get any closer with the StaticServer extension. I also looked at a lot of other files, but still didn't find anything. Do you have another idea or could you point me to a more precise direction? |
Comment by jasonsanjose There's an xUnit extension that has the ability to run a shell script from the project tree, the implementation is here https://github.com/dschaffe/brackets-xunit/blob/master/node/ProcessDomain.js. Are you looking to develop your own extension or are you requesting that we add this feature to core? |
Comment by KuenzelIT Thanks for the hint. Currently I want to write a little extension to execute a batch file (for running a phone gap app), but this could also be a really nice feature in bracket's core, so yes, it's also a request. |
Comment by KuenzelIT Hey again, I finally got it to work with xunit and brackets-simple-node (https://github.com/joelrbrandt/brackets-simple-node) as templates. It's not finished, but I can execute a batch file at least. Thanks for your help. |
Comment by dangoor We're working to make writing Node extensions easier. Using Node and Node's way of running external processes is definitely the easiest way to handle this kind of need. |
Comment by olsgreen
|
Comment by KuenzelIT Hey, |
Issue by KuenzelIT
Thursday Jun 13, 2013 at 19:16 GMT
Originally opened as adobe/brackets#4216
Is there a possibility to execute a local file (like a sass-compiler) or use the local shell?
The text was updated successfully, but these errors were encountered: