Ajoute des tests rapides
This commit is contained in:
parent
99cf06986a
commit
ee818912e9
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,4 +2,5 @@
|
|||||||
*.cmx
|
*.cmx
|
||||||
*.o
|
*.o
|
||||||
*.a
|
*.a
|
||||||
|
*.ascii.txt
|
||||||
/tipe
|
/tipe
|
||||||
|
|||||||
5
Makefile
5
Makefile
@ -10,5 +10,10 @@ ascii: $(shell find textes/ -type f -iname "*.txt" ! -iname "*.ascii.txt" | sed
|
|||||||
tipe: tipe.cmx
|
tipe: tipe.cmx
|
||||||
ocamlopt -o tipe str.cmxa tipe.cmx
|
ocamlopt -o tipe str.cmxa tipe.cmx
|
||||||
|
|
||||||
|
%.txt.test: %.ascii.txt tipe
|
||||||
|
./tipe $<
|
||||||
|
|
||||||
|
runall: $(shell find textes/ -type f -iname "*.txt" ! -iname "*.ascii.txt" | sed "s/\.txt/\.txt\.test/")
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf tipe *.cmx *.cmi *.o textes/*.ascii.txt
|
rm -rf tipe *.cmx *.cmi *.o textes/*.ascii.txt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user