-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotcli.js
executable file
·57 lines (32 loc) · 935 Bytes
/
notcli.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#! /usr/bin/env node
require('gruntfile.js');
//there's alink-bin plugin
//https://www.npmjs.com/package/link-bin
(function() {
console.log('made it to cli.js');
//var grunt = require("gruntfile.js");
//console.log(grunt);
//need to require to export it
function run() {
var count = 0;
for (var i=0; count < 2; i++) {
npm install -g bundler;
npm install -g bundle;
count++;
} //for
console.log("Im done");
} //run
})();
// Made it to cli.js
// =============================
// Run -g grunt-init and npm install -g again to connect
//
// #this is just other stuff i tried
// npm install -g grunt-init and
// npm install -g grunt-cli
// npm install -g
// git clone https://github.com/gruntjs/grunt-init-node.git ~/.grunt-init/node
//
// Then set package.json to global and bin to js file
// Add shebang on top of file
// make sure it works - run grunt plugins again