<commit_before># grunt-air-sdk

> A grunt plugin to compile Adobe Flex, Adobe Air, Actionscript, MXML applications using the Adobe AIR_SDK and binaries available (mxmlc, compc, etc.)

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-air-sdk --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-air-sdk');
```

## The "air_sdk" task

### Overview
In your project's Gruntfile, add a section named `air_sdk` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  air_sdk: {
    options: {
      // Task-specific options go here.
    },
    your_target: {
      // Target-specific file lists and/or options go here.
    },
  },
});
```

### Options

#### options.separator
Type: `String`
Default value: `',  '`

A string value that is used to do something with whatever.

#### options.punctuation
Type: `String`
Default value: `'.'`<commit_msg>Adding documentation<commit_after># grunt-air-sdk

> A grunt plugin to compile Adobe Flex, Adobe Air, Actionscript, MXML applications using the Adobe AIR_SDK and binaries available (mxmlc, compc, etc.)

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-air-sdk --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-air-sdk');
```

## The "air_sdk" task

### Overview
In your project's Gruntfile, add a section named `air_sdk` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  air_sdk: {
      hello_world: {
        options: {
          bin:"mxmlc",
          rawConfig: "+configname=air --optimize"
        },
        files: {
          'tmp/HelloWorldApp.swf': 'test/fixtures/HelloWorldApp.as'
        }
      },
      hello_world_swc: {
        options: {
          bin:"compc",
          rawConfig: "-static-link-runtime-shared-libraries=true -target-player=10.1 -source-path test/fixtures -include-classes com.dayvson.lib.Sample"
        },
        files: {
          'tmp/SampleLibrary.swc': 'test/fixtures/SampleLibrary.as'
        }
      },
      VersionAppUsingExternalSWC: {
        options: {
          bin:"mxmlc",
          rawConfig: "+configname=air -debug --optimize -static-link-runtime-shared-libraries=true -target-player=10.1 -library-path+=tmp/SampleLibrary.swc"
        },
        files: {
          'tmp/VersionAppUsingExternalSWC.swf': 'test/fixtures/VersionAppUsingExternalSWC.as'
        }
      },
    }
  }
});
```

### Options

#### options.separator
Type: `String`
Default value: `',  '`

A string value that is used to do something with whatever.

#### options.punctuation
Type: `String`
Default value: `'.'`
{'fraction_non_alphanumeric': 0.1263877028181042, 'fraction_numerical': 0.0034158838599487617, 'mean_word_length': 3.3169533169533167, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7330557', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1085, 'n_words': 341}