-
Notifications
You must be signed in to change notification settings - Fork 133
/
post_install.js
19 lines (17 loc) · 968 Bytes
/
post_install.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require('coffee-script/register')
require('colors')
var mkdirp = require('mkdirp')
var global_config = require('./lib/global_config')
console.log('---------------------------------------------------------'.grey)
console.log('Roots uses analytics to help the core team to get a')
console.log('better view of how developers use roots. All analytics')
console.log('are collected anonymously, and analytics data is used')
console.log('only to make roots better for everyone. However, if you')
console.log('would like to disable analytics, you are welcome to do')
console.log('so by running the command ' + '`roots analytics --disable`'.bold)
console.log('')
console.log('Much like roots itself, roots\' analytics are open source.')
console.log('Check out ' + 'http://roots.cx/analytics'.bold + ' for more information.')
console.log('---------------------------------------------------------'.grey)
// create roots' global config directory
mkdirp.sync(global_config.dir)