aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-11-12 03:01:49 -0600
committerNic Gaffney <gaffney_nic@protonmail.com>2023-11-12 03:01:49 -0600
commit52f12c6c2c946d8d3c0a7845d48e11ff8b8fb597 (patch)
tree198c2317db2f2876e833384139b47e204a4ad6fe /build.sh
parent84c77656e1d5f0414050d8a2dae6c86b022bf125 (diff)
downloadsloth-52f12c6c2c946d8d3c0a7845d48e11ff8b8fb597.tar.gz
fuck it we ball
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
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/