grunt-flash-compiler

0.3.5 • Public • Published

grunt-flash-compiler

Grunt multitask to compile Flash swf and swc files

Options

  • taskCompilerOptions: array - Extra options to be added to all compilations
  • targetCompilerOptions: array - Extra options to be added to a specific compilation
  • debug: Boolean - enable debugging options for compiled object
  • swc: Boolean - when true, generate a swc library file for linking

Example

flash: {
    options: {
        targetCompilerOptions : [
            '-compiler.library-path+='+ 'libs',
            '-define+=PROJECT::version,\'' + projects.version + '\''
        ]
    },
    debug : {
        options : {
            debug : true,
        },
        files : {
            'test/output.swf' : 'src/file.as'
        }
    },
    release : {
        files : {
            'bin/output.swf' : 'src/file.as'
        }
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-flash-compiler

Weekly Downloads

5

Version

0.3.5

License

ISC

Last publish

Collaborators

  • donato
  • egreaves
  • robwalch