From 8ab7781b2d785b05f9fea99f94f0eeae3ef3ebce Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 13 Nov 2015 02:10:11 -0800 Subject: [PATCH] build(analytics): keep track of --projects value via a custom dimension --- tools/analytics/analytics.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/analytics/analytics.js b/tools/analytics/analytics.js index 3a5378c337..983fd8d4a1 100644 --- a/tools/analytics/analytics.js +++ b/tools/analytics/analytics.js @@ -2,6 +2,7 @@ let execSync = require('child_process').execSync; let fs = require('fs'); +let minimist = require('minimist'); let path = require('path'); let os = require('os'); let ua; @@ -58,6 +59,8 @@ let customParams = { cd8: `${os.cpus().length} x ${os.cpus()[0].model}`, // HW - Memory Info cd9: `${Math.round(os.totalmem()/1024/1024/1024)}GB`, + // gulp --projects (angular2,angular2_material) + cd13: minimist(process.argv.slice(2)).projects };