/Cylc.tmbundle

TextMate bundle for the Cylc language (for TextMate, PyCharm, WebStorm, Sublime)

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

Cylc TextMate Grammar

Last updated: 2020-05-04

A TextMate bundle for working with Cylc workflow configuration files.

Installing

Download this repository keeping the .tmbundle extension.

  • TextMate - Open the bundle file.

  • PyCharm - instructions

  • WebStorm - instructions

  • Sublime Text 3:

    git clone https://github.com/cylc/Cylc.tmbundle <path to sublime packages>/Cylc.tmbundle

    (to get package path click Preferences => Browse Packages)

Building

This bundle is built from the Cylc TextMate grammar.

The bundle needs to be re-built when the grammar is updated. This is done by running build.rb.

Tue builder requires the plist gem.

How to Build A Bundle From Scratch

Bundles can be created via the TextMate app (Mac OS only).

The bundle editor appears to have disappeared in version 2, these steps apply to TextMate 1.5:

  1. Open TextMate.
  2. Open the bundle editor via the bundle menu. 3. Create a new bundle. 4. Within that bundle create a new language.
  3. Close the bundle editor. 6. Navigate to /Users/$USER/Library/Application Support/TextMate/Bundles/.

You now have a blank bundle. We need the bundle for two things:

  1. The info.plist file (which we will keep).
  2. The uuid in the language file (which we will use in the build process).