32 lines
705 B
Markdown
32 lines
705 B
Markdown
# package-zipper
|
|
|
|
Creates a clean, versioned ZIP archive of the current Racket package.
|
|
|
|
```racket
|
|
(require package-zipper)
|
|
(zip-package)
|
|
```
|
|
|
|
`zip-package` reads `version` from the current directory's `info.rkt`.
|
|
For a directory named `racket-upnp` with version `"5.0"`, it creates:
|
|
|
|
```text
|
|
../racket-upnp-5.0.zip
|
|
```
|
|
|
|
The ZIP recursively contains the package files, except for:
|
|
|
|
- `.git`
|
|
- names ending in `~`
|
|
- names ending in `.bak`
|
|
- `.html`, `.js`, and `.css` files below `scribblings` or `scribbles`
|
|
|
|
The comparisons for `.bak` and the Scribble web extensions are
|
|
case-insensitive.
|
|
|
|
Install this source directory as a linked package during development:
|
|
|
|
```sh
|
|
raco pkg install --auto --link .
|
|
```
|