Skip to content

Commit 7bdfef6

Browse files
committed
readme: document external-scripts.json
1 parent 46fb3bd commit 7bdfef6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ set.
1515
cp .env.sample .env
1616
```
1717

18-
By default, hackbot will run with all the plugins in the `scripts/`
19-
directory. If you only want to test one plugin, move all other plugins to
20-
`disabled_scripts/`.
18+
By default, hackbot will run with all the plugins in the `scripts/` directory
19+
**and** all the plugins referenced by `external-scripts.json`. If you only
20+
want to test one plugin, move all other plugins to `disabled_scripts/` and
21+
only include the minimal required external scripts.
2122

2223
```bash
2324
mv scripts/* disabled_scripts/
2425
mv disabled_scripts/my_plugin.js scripts/
26+
echo '["hubot-conf","hubot-help"]' > external-scripts.json
2527
```
2628

2729
If your plugin requires environment variables, be sure to put them in `.env`.

0 commit comments

Comments
 (0)