These are chat archives for lnug/discuss

22nd
Dec 2014
fmsf
@fmsf
Dec 22 2014 09:39
interesting
orliesaurus
@orliesaurus
Dec 22 2014 17:16
How does it work when you invoke a node cli tool from cli without adding ./ infront?
like gulp right
i dont do ./gulp
i just do gulp
Oli Evans
@olizilla
Dec 22 2014 17:28
gulp is globally installed, so it's on your path, and probs has the bin config in package.json
make a "bin"
add diss
#!/usr/bin/env node
as first line
then add yer bin to package.json
orliesaurus
@orliesaurus
Dec 22 2014 17:31
thanks broski, that's exactly what I was after <3 Much love
Oli Evans
@olizilla
Dec 22 2014 17:32
:santa:
orliesaurus
@orliesaurus
Dec 22 2014 17:32
Hohoho!
Oli Evans
@olizilla
Dec 22 2014 17:32
have a merry xmas (making commandz)
orliesaurus
@orliesaurus
Dec 22 2014 17:33
thanks, I'll be home fiddling with cron commands :D
have a merry one too!