Exclude compiled and exclude optional exclude list.
This commit is contained in:
@@ -17,12 +17,27 @@ For a directory named `racket-upnp` with version `"5.0"`, it creates:
|
||||
The ZIP recursively contains the package files, except for:
|
||||
|
||||
- `.git`
|
||||
- `compiled`
|
||||
- names ending in `~`
|
||||
- names ending in `.bak`
|
||||
- `.html`, `.js`, and `.css` files below `scribblings` or `scribbles`
|
||||
- `.html`, `.js`, and `.css` files below `scribblings`, `scribbles`, or `scrbl`
|
||||
|
||||
The comparisons for `.bak` and the Scribble web extensions are
|
||||
case-insensitive.
|
||||
The built-in directory and extension comparisons are case-insensitive.
|
||||
|
||||
Additional exclusions can be supplied with `#:exclude`:
|
||||
|
||||
```racket
|
||||
(zip-package
|
||||
#:exclude
|
||||
(list "tmp"
|
||||
(string->path "examples/generated")
|
||||
#rx"^tests/data/"))
|
||||
```
|
||||
|
||||
An exclusion string matches a file or directory name anywhere in the relative
|
||||
path. A path value matches that relative path and everything below it. A regular
|
||||
expression is matched against the complete relative path, using `/` as the path
|
||||
separator. Custom string and path comparisons are case-sensitive.
|
||||
|
||||
Install this source directory as a linked package during development:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user