build: some style changes, namely we should create steps only in root

This commit is contained in:
Mitchell Hashimoto
2025-02-27 12:33:24 -08:00
committed by Leah Amelia Chen
parent e252932bde
commit 6b1a017a86
3 changed files with 50 additions and 27 deletions

View File

@@ -105,4 +105,11 @@ pub fn build(b: *std.Build) !void {
test_step.dependOn(&test_run.step);
}
}
// update-translations does what it sounds like and updates the "pot"
// files. These should be committed to the repo.
{
const step = b.step("update-translations", "Update translation files");
step.dependOn(i18n.update_step);
}
}