diff --git a/Procfile b/Procfile index 210afed..ff24db1 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: bin/hubot -a hipchat +web: yarn run start-hubot-hipchat diff --git a/bin/hubot b/bin/hubot index 3724bef..4e6740e 100755 --- a/bin/hubot +++ b/bin/hubot @@ -1,8 +1,5 @@ #!/bin/sh set -e - -npm install export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH" - -exec node_modules/.bin/hubot --name "triatomic" "$@" +exec node_modules/.bin/hubot --name "triatomic" "$@" \ No newline at end of file diff --git a/package.json b/package.json index 6cb3aee..301822d 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "time": "^0.12.0" }, "scripts": { - "meh": "hubot" + "start-hubot-hipchat": "hubot --name triatomic hipchat" } }