freetype: change example names to match mach convention

General mach examples use ``long-example-name`` case but freetype was
using ``snake_case`` right now, which is inconsistent and midly
inconvenient to use.

Renamed: glyph_to_svg -> glyph-to-svg, single_glyph -> single-glyph
This commit is contained in:
iddev5 2022-05-25 23:33:03 +05:30 committed by Stephen Gutekanst
parent 32c12f0eaa
commit 336134c996
3 changed files with 2 additions and 2 deletions

View file

@ -25,8 +25,8 @@ pub fn build(b: *std.build.Builder) !void {
test_step.dependOn(&main_tests.step); test_step.dependOn(&main_tests.step);
inline for ([_][]const u8{ inline for ([_][]const u8{
"single_glyph", "single-glyph",
"glyph_to_svg", "glyph-to-svg",
}) |example| { }) |example| {
const example_exe = b.addExecutable("example-" ++ example, "examples/" ++ example ++ ".zig"); const example_exe = b.addExecutable("example-" ++ example, "examples/" ++ example ++ ".zig");
example_exe.setBuildMode(mode); example_exe.setBuildMode(mode);