Add initial hubot generation files.
This commit is contained in:
8
bin/hubot
Executable file
8
bin/hubot
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
npm install
|
||||
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
|
||||
|
||||
exec node_modules/.bin/hubot --name "404bot" "$@"
|
||||
7
bin/hubot.cmd
Normal file
7
bin/hubot.cmd
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
call npm install
|
||||
SETLOCAL
|
||||
SET PATH=node_modules\.bin;node_modules\hubot\node_modules\.bin;%PATH%
|
||||
|
||||
node_modules\.bin\hubot.cmd --name "404bot" %*
|
||||
Reference in New Issue
Block a user