Commit 49e8c80f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'patch-88' into 'master'

No individual load needed in danger bot doc

See merge request gitlab-org/gitlab!26475
parents 84836fef aa3c2b22
...@@ -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