aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authornic-gaffney <gaffney_nic@protonmail.com>2023-12-05 06:51:38 -0600
committernic-gaffney <gaffney_nic@protonmail.com>2023-12-05 06:51:38 -0600
commitf655a862106a8a05bc432c2df957979f3fcc399b (patch)
tree28134136bdbbaa5dc423403f0985ccf8fb60e861 /build.sh
parentc748aedbc265fdc7d62768d368161a1f1d88b9a4 (diff)
parentd767828cee67bae17b811062949653234aa14b28 (diff)
downloadsloth-f655a862106a8a05bc432c2df957979f3fcc399b.tar.gz
merge
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..760f2ab 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 std/stdmem.c -o "${FILENAME%.sloth}"
# Move file
mv "${FILENAME%.sloth}" out/