Similarly, if the current file belongs to an application target (other than TextMate.app) then TM_NINJA_TARGET is set to build and run this application. It has commands, plugins, configuration files and a community to back it. tm_properties file found in the root of the source tree). It has windows, buttons, preferences, documentation, and a company to back it. If the current file is a test file then the target to build is changed to build the library to which the test belongs (this is done by setting TM_NINJA_TARGET in the. As there is full session restore, it is safe to relaunch even with unsaved changes. This will relaunch TextMate but when called from within TextMate, a dialog will appear before the current instance is killed. In case you haven't already you also need to set up the PATH variable either in Preferences → Variables or ~/.tm_properties so it can find ninja and related tools an example could be $PATH:/usr/local/bin. You should install the Ninja bundle which can be installed via Preferences → Bundles.Īfter this you can press ⌘B to build from within TextMate. configure script simply checks that all dependencies can be found, and then calls bin/rave to bootstrap a build.ninja file with default config set to release and default target set to TextMate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |