Even aside from the confusing-task-names issue described in #97, there's a lot of unnecessary junk in the Gruntfile. Skimming through it, I suspect at least the following can be removed outright:
The grunt-strip-code plugin and corresponding strip_code config block (we don't actually seem to use these anymore)
The blah config block (seems to be a renamed, outdated version of the nwjs config block)
The chdir and dirList sections of the shell config block (unused)
The grunt-require plugin (we're not using RequireJS anymore)
The grunt test task (we run the tests in-browser instead)
The grunt python task (its name doesn't make any sense, and all it does is run the shell:target task)
I'm also not totally clear on how much of the copy-related stuff is actually still in use, or whether the pkg config block actually does anything.
The uglify stuff isn't being used right now, but I can imagine that we might want to start using it again in the foreseeable future, to build a minified ensemble.min.js version of the standalone ensemble.js library file.
As of the last few cleanup commits, everything that's still in the Gruntfile is actually being used as part of the build process, so I'm going to go ahead and close this issue for now.
Even aside from the confusing-task-names issue described in #97, there's a lot of unnecessary junk in the Gruntfile. Skimming through it, I suspect at least the following can be removed outright:
grunt-strip-code
plugin and correspondingstrip_code
config block (we don't actually seem to use these anymore)blah
config block (seems to be a renamed, outdated version of thenwjs
config block)chdir
anddirList
sections of theshell
config block (unused)grunt-require
plugin (we're not using RequireJS anymore)grunt test
task (we run the tests in-browser instead)grunt python
task (its name doesn't make any sense, and all it does is run theshell:target
task)I'm also not totally clear on how much of the
copy
-related stuff is actually still in use, or whether thepkg
config block actually does anything.The
uglify
stuff isn't being used right now, but I can imagine that we might want to start using it again in the foreseeable future, to build a minifiedensemble.min.js
version of the standaloneensemble.js
library file.