summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 2a20f5b9..e31464f7 100644
--- a/build.zig
+++ b/build.zig
@@ -32,7 +32,7 @@ pub const PerfBuild = struct {
pub const macos_min_version: std.SemanticVersion = .{ .major = 13, .minor = 0, .patch = 0 };
-pub const TreeSitterGrammars = enum { zig, minimal, full };
+pub const TreeSitterGrammars = enum { none, minimal, full };
pub fn build(b: *std.Build) void {
// A package that depends on pardes takes its library; nothing of the
@@ -108,7 +108,7 @@ pub fn build(b: *std.Build) void {
}),
});
const c_optimize: std.lang.Optimize = if (optimize == .debug) .fast else optimize;
- const tree_sitter_grammars = b.option(TreeSitterGrammars, "tree-sitter", "tree-sitter grammar set: zig, minimal (c/c++/zig), full") orelse .full;
+ const tree_sitter_grammars = b.option(TreeSitterGrammars, "grammars", "the tree-sitter grammars compiled in: none (the runtime alone), minimal (C, C++ and Zig) or full (all of them; the default)") orelse .full;
const tracy = b.option([]const u8, "tracy", "enable Tracy profiling; supply the path to a Tracy source checkout");
const macos_sdk = b.option([]const u8, "macos-sdk", "the macOS SDK a gui built for macOS from another system takes SDL's headers and frameworks from");
const macos_identity = b.option([]const u8, "macos-identity", "codesigning identity for pardes.app (default: ad-hoc)") orelse "-";