Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zdharma-continuum/zinit-annex-test
https://github.com/zdharma-continuum/zinit-annex-test
zinit zinit-annex zsh
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zdharma-continuum/zinit-annex-test
- Owner: zdharma-continuum
- License: mit
- Created: 2021-11-06T11:04:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T04:43:52.000Z (almost 2 years ago)
- Last Synced: 2024-11-14T00:28:58.315Z (3 months ago)
- Topics: zinit, zinit-annex, zsh
- Language: Shell
- Homepage:
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zinit-annex-test
A [Zinit](https://github.com/zdharma-continuum/zinit) extension (i.e., an
[annex](https://zdharma-continuum.github.io/zinit/wiki/Annexes/)) that attempts to run tests via the `make test` target
after installing or updating a plugin.```zsh
zinit light zdharma-continuum/zinit-annex-test
```## Usage
To install, run:
```zsh
zinit light zdharma-continuum/zinit-annex-test
```Once installed, add the `test` ice to a Zinit plugin invocation:
### `for` syntax
```zsh
zinit for load make test junegunn/fzf
```### `ice` syntax
```zsh
zinit ice make test
zinit load junegunn/fzf
```## Configuration
### Verbose output
Before installing or updating the plugin, run:
```zsh
zstyle :zinit:annex:test quiet 0
```A full example:
```zsh
zstyle :zinit:annex:test quiet 0
zinit ice make test
zinit load junegunn/fzf
```To skip tests for a single plugin, add `notest` ice:
```zsh
zinit for load make notest junegunn/fzf
``````zsh
zinit ice make notest
zinit load junegunn/fzf
```## Examples
### Quiet mode (default)
![z-p-test activation](https://raw.githubusercontent.com/zdharma-continuum/zinit-annex-test/master/images/z-p-test-1.png)
### Non-quiet mode
![z-p-test activation](https://raw.githubusercontent.com/zdharma-continuum/zinit-annex-test/master/images/z-p-test-2.png)