Home Download Buy Blog Forum Support

Interactive Build System

Interactive Build System

Postby BarryCarlyon on Mon Sep 12, 2011 10:37 am

Hello all,

I was trying to build a build system for my project, so I don't have to switch from sublime to terminal on my mac.

I tried this:

Code: Select all
{
   "working_dir": "/Volumes/Documents/somedir/",

   "cmd": ["bash", "deploy.sh"]
}


But got stuck in a infinity loop as deploy.sh is a interactive script.
I then tried:

Code: Select all

{
   "working_dir": "/Volumes/Documents/somedir/",
   "shell": true,

   "cmd": ["bash", "deploy.sh"]
}


It just goes [finished]....

In addition I saw on the forums about project specific build files, I tried putting my build file in the same dir as my project and its save, but not joy tools->build system doesn't pick it up (also annoying I have to restart sublime for it to pick up new build files)
BarryCarlyon
 
Posts: 2
Joined: Mon Sep 12, 2011 10:33 am

Re: Interactive Build System

Postby BarryCarlyon on Tue Sep 13, 2011 9:15 am

Indeed.

If I get the chance/time I'll have a play and report back
BarryCarlyon
 
Posts: 2
Joined: Mon Sep 12, 2011 10:33 am

Re: Interactive Build System

Postby nhoobler on Fri Sep 30, 2011 11:39 am

I'd be interested in hearing any progress, since I'm trying to do something similar. Ideally, I'm just trying to link my project build scripts (build release and package then run, build debug and launch via GDB, clean the build) into Sublime Text; however, I can't launch GDB because the console is non-interactive. Is there a good way to maybe just launch a new terminal window from the build action -- i.e. open a new window, and have the build process terminate when I exit?

Also on a related note, can I map different keys to different build profiles? Right now all I see is the ability to select a single profile, and map that (to Ctrl/Cmd-B by default). Mapping "Run/Debug/Clean" to hotk eys would be super slick!
nhoobler
 
Posts: 1
Joined: Fri Sep 30, 2011 11:31 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 24 guests