GithubHelp home page GithubHelp logo

jamesmgreene / grunt-mxmlc Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 11.0 209 KB

A Grunt task plugin to compile Adobe Flex/ActionScript/MXML/FLV/etc. apps with the `mxmlc` compiler from the Apache/Adobe Flex SDK.

License: MIT License

JavaScript 97.69% ActionScript 2.31%

grunt-mxmlc's Introduction

Hello! I'm James. ๐Ÿ‘‹

I am a "seasoned" software engineer, currently working for GitHub on Actions, Pages, deployments, and more. :octocat:

About me

  • Pronouns: he/him
  • Husband to my wife. ๐Ÿคตโ€โ™‚๏ธ ๐Ÿ‘ฐโ€โ™€๏ธ
  • Father to my daughter. ๐Ÿง’
  • Servant to my cats. ๐Ÿฑ ๐Ÿˆ
  • Ally. ๐Ÿณ๏ธโ€๐ŸŒˆ ๐Ÿณ๏ธโ€โšง๏ธ ๐Ÿ–ค ๐ŸคŽ โค๏ธ ๐Ÿงก ๐Ÿ’› ๐Ÿ’š ๐Ÿ’™ ๐Ÿ’œ ๐Ÿค
  • Open source enthusiast. ๐Ÿ’
  • Lifelong learner. ๐Ÿ“š
  • Scuba diver, traveler, nature enthusiast, hiker, camper, explorer. ๐Ÿฅพ
  • Handy but willing to admit my limits. ๐Ÿ› ๏ธ

grunt-mxmlc's People

Contributors

jamesmgreene avatar jbalsas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

grunt-mxmlc's Issues

rawConfig options must always be set

Currently, it's mandatory to set rawConfig or the mxmlc task will throw and error.

This is due to var cmdLineOpts = options.rawConfig.split(/\s+/g); which always needs rawConfig to be set.

Add option to strip date metadata out of SWF

Incremental builds (mxmlc -incremental) do not work cross-platform. This problem is not specific to this wrapper (grunt-mxmlc), just a general problem with mxmlc.

e.g. http://stackoverflow.com/questions/5632318/mxmlc-generates-different-binary-on-same-source

One of the answers in that Q&A (and other blog posts around the web) suggest that this is because the SWF is produced with compile-time timestamps added in 2 places, so they must be removed to create identical SWFs. This change would NOT make the incremental builds work correctly but it will result in consistent SWF files when re-running the build over the same source files.

More info around these tags and how to remove them:

flex-sdk dependency broken?

I just installed grunt-mxmlc into a blank npm module using npm i --save grunt-mxmlc. For some reason, it insisted on installing [email protected] rather than the latest version. Moreover, when I tried to make it install version 4.6.0-0, I got this:

C:\tmp\temp>npm i --save [email protected]
[installation of [email protected] redacted]
npm ERR! peerinvalid The package flex-sdk does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants flex-sdk@>= 3.0.0-0

If I'm interpreting that error correctly, npm seems to think 4.6.0-0 is lower than 3.0.0-0.

I'm convinced this behavior changed recently. I have a bunch of projects that use grunt-mxmlc and none of them contain an old Flex SDK. Did something change in the way npm and/or semver handles >=?

This is on Windows with node v0.10.31 (on nodist) with npm v2.1.2.

mxmlc path: undefined on osx

flexSdk.bin.mxmlc is undefined, it seems to be looking for it in flex-sdk/lib/flex-sdk/bin which doesn't exist. Is this correct?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.