From 52f12c6c2c946d8d3c0a7845d48e11ff8b8fb597 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Sun, 12 Nov 2023 03:01:49 -0600 Subject: fuck it we ball --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 2bdd204..a53fb29 100755 --- a/build.sh +++ b/build.sh @@ -1,11 +1,11 @@ # Build Sloth -cargo build +#cargo build FILENAME="$1" # Compile standard library -./target/debug/sloth std/extern.sloth std/stdmath.sloth std/stdio.sloth $FILENAME +./target/release/sloth std/extern.sloth std/stdmath.sloth std/stdio.sloth $FILENAME # Generate binary -clang -lm output.o std/stdio.c std/stdlib.c std/stdmath.c -o "${FILENAME%.sloth}" +clang -lm output.o std/stdsocket.c std/stdio.c std/stdlib.c std/stdmath.c -o "${FILENAME%.sloth}" # Move file mv "${FILENAME%.sloth}" out/ -- cgit v1.2.3