UNPKG
hubot-vso-scripts
Version:
latest (0.3.3)
0.3.3
0.2.5
0.2.4
0.2.3
0.2.2
0.2.0
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Hubot Visual Studio Online Scripts
github.com/scrumdod/vso-hubotscripts
scrumdod/vso-hubotscripts
hubot-vso-scripts
/
index.coffee
9 lines
(8 loc)
•
237 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
Fs =
require
'fs'
Path =
require
'path'
module
.exports = (robot) ->
path
= Path.resolve __dirname,
'src'
Fs.exists
path
, (exists) ->
if
exists
for
file
in
Fs.readdirSync(
path
) robot.loadFile
path
, file