Skip to content

Commit

Permalink
Document the existence of the patches option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Schouten committed Apr 17, 2019
1 parent e5ebb5b commit 6ff390d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ execute it using Node.js.
```python
load("@com_github_edschouten_rules_elm//repository:def.bzl", "elm_repository")

elm_repository(name, urls, sha256, strip_prefix)
elm_repository(name, urls, sha256, strip_prefix, patches)
```

**Purpose:** download an Elm package over HTTP, extract it and create a
Expand All @@ -143,6 +143,7 @@ from returning hard to debug dependency management related errors.
- `sha256`: SHA-256 checksum of the tarball.
- `strip_prefix`: Directory prefix that may be removed from the files
upon extraction.
- `patches`: List of labels of patches to apply after extraction.

## Examples on how to use these rules

Expand Down

0 comments on commit 6ff390d

Please sign in to comment.