summaryrefslogtreecommitdiff
path: root/pkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg.sh')
-rwxr-xr-xpkg.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/pkg.sh b/pkg.sh
deleted file mode 100755
index 3ac30dd..0000000
--- a/pkg.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-std_things="io arr"
-cd std
-
-VALGRIND="valgrind --track-origins=yes --exit-on-first-error=yes --error-exitcode=1 -q"
-if [ "$1" = "nov" ]; then
- VALGRIND=""
-fi
-if [ "$CC" = "" ]; then
- CC=gcc
-fi
-
-for thing in $std_things; do
- echo "compiling $thing"
- $VALGRIND ../toc $thing.toc -o $thing.c || exit 1
-done
-cd ..
-echo "compiling test.toc"
-$VALGRIND ./toc test.toc || exit 1
-$CC out.c std/*.c -Wno-builtin-declaration-mismatch || exit 1
-./a.out