Skip to content

Commit

Permalink
Show example with multiple exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
msciotti committed May 9, 2019
1 parent 492bcd3 commit bd8fa4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/dispatch/Branches_and_Builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ That way, you can `dispatch build push` from your actual root directory, but dis
"exclusions": [
{
"local_path": "**/*.pdb"
},
{
"local_path": "**/*.verycoolfile"
}
]
}
Expand All @@ -185,7 +188,7 @@ File rules is a special, and somewhat confusing, part of the manifest, but we'll

`properties` allows you to mark properties on globs of files. In this case, marking a glob of files as `user_data` tells Dispatch not to touch these files in any way if it sees them; don't want that save data overwritten!

`exclusions` also allow you to mark off globs of files. File globs here will not be uploaded by Dispatch on a build push. In the above example, debug files that match the `*.pdb` pattern in any directory will be ignored.
`exclusions` also allow you to mark off globs of files. File globs here will not be uploaded by Dispatch on a build push. In the above example, debug files that match the `*.pdb` or `*.verycoolfile` patterns in any directory will be ignored.

> warn
> Dispatch supports [Rust globbing patterns](https://docs.rs/glob/0.2.11/glob/struct.Pattern.html).
Expand Down Expand Up @@ -382,6 +385,9 @@ Let's see what one looks like all together!
"exclusions": [
{
"local_path": "**/*.pdb"
},
{
"local_path": "**/*.verycoolfile"
}
]
},
Expand Down

0 comments on commit bd8fa4d

Please sign in to comment.