Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziglang/zig.tmbundle
https://github.com/ziglang/zig.tmbundle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ziglang/zig.tmbundle
- Owner: ziglang
- License: mit
- Created: 2021-07-22T18:22:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T11:17:50.000Z (over 3 years ago)
- Last Synced: 2024-10-07T10:34:22.754Z (about 1 month ago)
- Language: Zig
- Size: 1.3 MB
- Stars: 14
- Watchers: 8
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zig.tmbundle
TextMate 2 Bundle for [Zig](https://ziglang.org).
## Install
```bash
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone https://github.com/ziglang/Zig.tmbundle.git
```## Commands
| Command | Description | Keyboard Shortcut |
| --------| --------------------------------------------- | ----------------- |
| Build | Build the current file using `zig build-exe`. | `⌘B` |
| Run | Run the current file using `zig run`. | `⌘R` |
| Test | Test the current file using `zig test`. | `⇧⌘R` |## Specifying the `zig` executable
By default, TextMate will look for the `zig` executable in the following locations:
- `/opt/local/bin/zig`
- `/usr/local/bin/zig`
- `/usr/local/zig/bin/zig`If your `zig` executable is located elsewhere, you can set the `TM_ZIG` variable to the correct location.