Changeset 531 for Dev/trunk/Gruntfile.js


Ignore:
Timestamp:
03/27/14 14:44:36 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Return to using truly ISO formatted dates, including milliseconds.
  • Also set constraint on surveyrun dates when value is initially set.
  • Separate runs & results from surveys and questions.
  • Moved date & email format to schema itself.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/Gruntfile.js

    r522 r531  
    7474                       ,'heroku-config'
    7575                       ,'http:db-push-local-to-cloud']);
     76    grunt.registerTask('cloudant-url',
     77                       "Print the Cloudant URL to the console.",
     78                       ['path-check:heroku'
     79                       ,'heroku-config'
     80                       ,'print:herokuConfig.CLOUDANT_URL:CLOUDANT_URL'
     81                       ]);
    7682    grunt.registerTask('#',
    7783                       "---\nTASKS BELOW ARE INTERNAL AND SHOULD NOT USUALLY BE CALLED FROM THE COMMAND-LINE\n---",
     
    304310    grunt.loadTasks('./grunt-tasks');
    305311
     312    grunt.registerTask('print',"Print a variable.",
     313                       function(varname,name) {
     314                            grunt.log.write(grunt.template.process((name||varname)+"=<%= "+varname+" %>"));
     315                       });
     316
    306317    // UTIL FUNCTIONS
    307318
Note: See TracChangeset for help on using the changeset viewer.