simongregory / flexpmd.tmbundle

FlexPMD TextMate Bundle

This URL has Read+Write access

simongregory (author)
Fri Nov 06 08:27:48 -0800 2009
commit  f90604dd73288dc15ac43f5b78615fa89e312fb0
tree    8d6511dd6991e3e19725c12f3a503881efe13f54
parent  5ada4038f2f7753c082b4fccbd90f525d2b8aa51
name age message
directory Commands/ Sun Nov 01 12:47:00 -0800 2009 • Initial commit [simongregory]
file README.mdown Mon Nov 02 06:00:14 -0800 2009 • Refactoring to add configurability and clarit... [simongregory]
directory Support/ Loading commit data...
file info.plist Sun Nov 01 12:47:00 -0800 2009 • Initial commit [simongregory]
README.mdown

TextMate FlexPMD Bundle

This bundle gives TextMate support for FlexPMD.

The bundle is currently experimental, as such it expects the following:

  • Source files to be in a saved TextMate project.
  • ActionScript and MXML source files to be a directory named 'src'

Installation

To install using git:

    cd ~/"Library/Application Support/TextMate/Bundles/"
    git clone git://github.com/simongregory/flexpmd.tmbundle.git "FlexPMD.tmbundle"
    osascript -e 'tell app "TextMate" to reload bundles'

Otherwise download the zip or tarball and unpack it in ~/Library/Application\ Support/TextMate/Bundles.

Then select 'Bundles > Bundle Editor > Reload Bundles' from TextMate's menus

Source can be viewed and forked via GitHub

Configuration

By default the the FlexPMD report file will be created in the directory $TM_PROJECT_DIRECTORY/reports/flexpmd/. To override this set the env var TM_FLEXPMD_REPORT to your desired directory (it doesn't seem possible to change the name of the outputted file).

To specify a custom ruleset specify it's path using the env var TM_FLEXPMD_RULESET.

Support

Please use the TextMate Users mailing list.

License

If not otherwise specified (see below), files in this project fall under the following license:

    Copyright 2009 Simon Gregory

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.

An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar.