aboutsummaryrefslogtreecommitdiff
path: root/generate.fish
diff options
context:
space:
mode:
Diffstat (limited to 'generate.fish')
-rw-r--r--generate.fish23
1 files changed, 0 insertions, 23 deletions
diff --git a/generate.fish b/generate.fish
deleted file mode 100644
index 460cfff..0000000
--- a/generate.fish
+++ /dev/null
@@ -1,23 +0,0 @@
-echo "" > test.c;
-set fs (ls src/**/test_*.c);
-for f in $fs;
- echo "#include \"$f\"" >> test.c;
-end;
-echo -e "" >> test.c
-cat base_test.c >> test.c;
-echo -e "" >> test.c;
-echo "i32 main() {" >> test.c;
-for f in $fs;
- echo "Parsing $f";
- set funcs (rg 'i32 test_' $f);
- for func in $funcs;
- set pfunc (echo $func | awk '{match($0, /test_[^(]+/); print substr($0, RSTART, RLENGTH)}');
- echo "Found $pfunc in $f";
- echo " test($pfunc);" >> test.c
- end;
-end;
-echo "
- printf(\"Success: %d, Failures: %d\n\", success, failures);
-
- return failures;
-}" >> test.c;