Can I attach a command to a project file so that it is only available when that project is open and foremost in TextMate? I'd like to write a command to rsync a project's files to a server, and give each project its own command to sync the proper directories to the right server.
Thanks, Shawn
On Oct 24, 2005, at 3:47 AM, Shawn Van Ittersum wrote:
Can I attach a command to a project file so that it is only available when that project is open and foremost in TextMate? I'd like to write a command to rsync a project's files to a server, and give each project its own command to sync the proper directories to the right server.
You can set project specific shell variables, by clicking on the info button at the bottom of the drawer, without any particular file selected. Then you can have a global command that uses those variables to see if it should be doing anything, and is so, what it should be syncing.
Thanks, Shawn