pcjs/modules/grunts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2014-12-29 23:06:28 -08:00
..
manifester my_modules is simply modules now 2014-11-11 08:19:48 -08:00
prepjs v1.16.5: Getting ready for 2015 2014-12-29 23:06:28 -08:00
README.md my_modules is simply modules now 2014-11-11 08:19:48 -08:00

Experimental Grunt Tasks

I experimented briefly with a few Grunt tasks, but working with Grunt wasn't all that pleasant, and neither of these tasks are all that important right now, so they're only here for a rainy day or to be cannibalized for some other purpose.

manifester was intended to open a manifest.xml file (discussed in more detail here) and download all the referenced files. The task was inspired by npm install, which downloads all the required modules specified in package.json without requiring them to be checked into the project. However, the manifest design needs to be fleshed out more before work on this continues.

prepjs was intended to inline well-defined constants in all JavaScript files before running them through the Closure Compiler, but it turned out that:

  • the Grunt task would quickly run out of memory
  • the Closure Compiler actually did a pretty good job inlining all by itself