@@ -30,8 +30,8 @@ pub fn build(b: *STD.Build) !void {
3030 CPPLINGS_CLI_CMD .step .dependOn (b .getInstallStep ());
3131
3232 // exercises
33- const CPPLIGNS_EXERCISE = b .addExecutable (.{
34- .name = "CPPLIGNS_EXERCISE " ,
33+ const CPPLINGS_EXERCISE = b .addExecutable (.{
34+ .name = "cpplings_exercise " ,
3535 .root_module = b .createModule (.{
3636 .target = TARGET ,
3737 .optimize = OPTIMIZE ,
@@ -44,18 +44,18 @@ pub fn build(b: *STD.Build) !void {
4444 if (args .len > 0 ) {
4545 const EXERCISE_FILENAMES = args ;
4646
47- CPPLIGNS_EXERCISE .root_module .addCSourceFiles (.{ .flags = & COMPILER_FLAGS , .files = EXERCISE_FILENAMES });
47+ CPPLINGS_EXERCISE .root_module .addCSourceFiles (.{ .flags = & COMPILER_FLAGS , .files = EXERCISE_FILENAMES });
4848
49- CPPLIGNS_EXERCISE .root_module .addIncludePath (b .path ("include" ));
50- CPPLIGNS_EXERCISE .root_module .linkLibrary (DEP_GTEST .artifact ("gtest" ));
51- CPPLIGNS_EXERCISE .root_module .linkLibrary (DEP_GTEST .artifact ("gtest_main" ));
49+ CPPLINGS_EXERCISE .root_module .addIncludePath (b .path ("include" ));
50+ CPPLINGS_EXERCISE .root_module .linkLibrary (DEP_GTEST .artifact ("gtest" ));
51+ CPPLINGS_EXERCISE .root_module .linkLibrary (DEP_GTEST .artifact ("gtest_main" ));
5252
53- b .installArtifact (CPPLIGNS_EXERCISE );
53+ b .installArtifact (CPPLINGS_EXERCISE );
5454 }
5555 }
5656
5757 const CPPLINGS_RUN_EXERCISE_STEP = b .step ("exercises" , "Build and run cppligns_exercise exercise" );
58- const CPPLINGS_RUN_EXERCISE_CMD = b .addRunArtifact (CPPLIGNS_EXERCISE );
58+ const CPPLINGS_RUN_EXERCISE_CMD = b .addRunArtifact (CPPLINGS_EXERCISE );
5959 CPPLINGS_RUN_EXERCISE_STEP .dependOn (& CPPLINGS_RUN_EXERCISE_CMD .step );
6060 CPPLINGS_RUN_EXERCISE_CMD .step .dependOn (b .getInstallStep ());
6161
0 commit comments