Browse Source

Added valgrind for struct vector to Makefile, and adding .gitattributes to correct identification of .h as C

Luiserebii 1 year ago
parent
commit
1809c96b84
Signed by: Luiserebii <luis@serebii.io> GPG Key ID: 3B7E2D68E27CBBCF
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      .gitattributes
  2. 1
    1
      test/Makefile

+ 1
- 0
.gitattributes View File

@@ -0,0 +1 @@
1
+*.h linguist-language=C

+ 1
- 1
test/Makefile View File

@@ -7,6 +7,6 @@ vector-int:
7 7
 vector-struct-point:
8 8
 	cc ./src/test-vector-struct-point.c ./src/vector-struct-point.c lib/*.c && ./a.out
9 9
 valgrind:
10
-	cc ./src/test-vector-int.c ./src/vector-int.c lib/*.c && valgrind ./a.out 
10
+	cc ./src/test-vector-int.c ./src/vector-int.c lib/*.c && valgrind ./a.out && cc ./src/test-vector-struct-point.c ./src/vector-struct-point.c lib/*.c && valgrind ./a.out
11 11
 clean:
12 12
 	rm a.out

Loading…
Cancel
Save