diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-07-24 19:31:04 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-07-24 19:31:04 +0200 |
| commit | 23088b800c9e4166396996de82fb1b13c8671127 (patch) | |
| tree | b5b497bf322f1eb6fe5aa86f9a529786e934ff6b /build.zig | |
| parent | a5a505ecbaecacbc79c515daf55ea55ab8e475f0 (diff) | |
| download | river-23088b800c9e4166396996de82fb1b13c8671127.tar.gz river-23088b800c9e4166396996de82fb1b13c8671127.tar.xz | |
common: standardize on -help option
Also:
- Check for -help option *before* unknown options
- Use common flags parsing code for riverctl
- Add usage text to riverctl
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -100,6 +100,7 @@ pub fn build(b: *zbs.Builder) !void { riverctl.step.dependOn(&scanner.step); riverctl.addPackage(scanner.getPkg()); + riverctl.addPackagePath("flags", "common/flags.zig"); riverctl.linkLibC(); riverctl.linkSystemLibrary("wayland-client"); |
