Github user benkeen commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/190#discussion_r21395779
--- Diff: Gruntfile.js ---
@@ -139,13 +139,18 @@ module.exports = function(grunt) {
return helper.readSettingsFile().couchserver || defaults;
}();
- grunt.initConfig({
+ var config = {
// The clean task ensures all files are removed from the dist/
directory so
// that no files linger from previous builds.
clean: {
release: cleanable,
- watch: cleanableAddons
+ watch: cleanableAddons,
+
+ // used during release and couchapp_deploy steps to remove
unnecessary un-md5-ified files
+ oldResources: {
--- End diff --
That's true... I actually had that originally, but didn't like having the
clean task ran in both of the md5 targets (requireJS + css). Now it just runs a
single task to do both. But that said, it didn't require hardcoding the paths
like it does now. I'm fine with either approach, to be honest.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---