exports readme

This commit is contained in:
Matheus C. França 2022-02-13 11:00:23 -03:00 committed by GitHub
parent 1e8f612206
commit c8c7d420be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,9 +8,7 @@ plugins=(... zig)
# Alias # Alias
| Alias | Command | Description | | Alias | Command | Description |
|:----------------------|:-------------------------------------------------|------------------------------------------------------- |:----------------------|:-------------------------------------------------|:-----------------------------------------------------|
| `ZCC` | `zig cc` | `Use Zig as a drop-in C compiler` |
| `ZCXX` | `zig c++` | `Use Zig as a drop-in C++ compiler` |
| `zbuild` | `zig build` | `Build project from build.zig` | | `zbuild` | `zig build` | `Build project from build.zig` |
| `zbuildrun` | `zig build run` | `Build and run project from build.zig` | | `zbuildrun` | `zig build run` | `Build and run project from build.zig` |
| `zbuildtest` | `zig build test` | `Build, run and test project from build.zig` | | `zbuildtest` | `zig build test` | `Build, run and test project from build.zig` |
@ -23,3 +21,12 @@ plugins=(... zig)
| `zrun` | `zig run` | `Create executable and run immediately` | | `zrun` | `zig run` | `Create executable and run immediately` |
| `zversion` | `zig version` | `Print version number and exit` | | `zversion` | `zig version` | `Print version number and exit` |
| `zfind` | `find . -name "*.zig"` | `Find all zig files` | | `zfind` | `find . -name "*.zig"` | `Find all zig files` |
# Export
| export | Command | Description |
|:----------------------|:-------------------------------------------------|:-----------------------------------------------------|
| `ZCC` | `zig cc` | `Use Zig as a drop-in C compiler` |
| `ZCXX` | `zig c++` | `Use Zig as a drop-in C++ compiler` |
**Note:** Export the commands without modify the default values (`CC` & `CXX`).