control-freak-ide/server/nodejs/util/build/examples/profile-with-code.profile.js
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

13 lines
373 B
JavaScript

function timestamp(){
// this function isn't really necessary...
// just using it to show you can call a function to get a profile property value
var d = new Date();
return d.getFullYear() + '-' + (d.getMonth()+1) + "-" + d.getDate() + "-" +
d.getHours() + ':' + d.getMinutes() + ":" + d.getSeconds();
}
var profile = {
basePath:".",
buildTimestamp:timestamp()
};