Commit aa3c2b22 authored by Alina Mihaila's avatar Alina Mihaila

No individual load needed in dangerbot doc

parent a89d86f0
...@@ -71,12 +71,6 @@ the need as part of the product in a future version of GitLab! ...@@ -71,12 +71,6 @@ the need as part of the product in a future version of GitLab!
Implement each task as an isolated piece of functionality and place it in its Implement each task as an isolated piece of functionality and place it in its
own directory under `danger` as `danger/<task-name>/Dangerfile`. own directory under `danger` as `danger/<task-name>/Dangerfile`.
Add a line to the top-level `Dangerfile` to ensure it is loaded like:
```ruby
danger.import_dangerfile('danger/<task-name>')
```
Each task should be isolated from the others, and able to function in isolation. Each task should be isolated from the others, and able to function in isolation.
If there is code that should be shared between multiple tasks, add a plugin to If there is code that should be shared between multiple tasks, add a plugin to
`danger/plugins/...` and require it in each task that needs it. You can also `danger/plugins/...` and require it in each task that needs it. You can also
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment