summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-05 14:59:24 -0500
committerKyle Gunger <kgunger12@gmail.com>2024-03-05 14:59:24 -0500
commitdb55558626a6821c1dfb0bd24f9652db7d2ebc42 (patch)
treed2a853c408dc8a231c6d7350c1f03caf64121497
parent2dca2fa01495072c7497d466ad92ab3df3f19b90 (diff)
run script
-rw-r--r--.gitignore2
-rwxr-xr-xrun.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 7a7d136..e19a730 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
ctc
-build
+out
*.tnsl
diff --git a/run.sh b/run.sh
index d6a0f2b..3e2ce2f 100755
--- a/run.sh
+++ b/run.sh
@@ -1,9 +1,9 @@
#!/bin/bash
-mkdir -p ./build/artifact
+mkdir -p ./out/artifact
filename=$1
filename="${filename%.*}"
-./ctc $1 build/artifact/$filename.asm
-nasm -f elf64 -o ./build/artifact/$filename.o ./build/artifact/$filename.asm
-gcc -o ./build/$filename ./build/artifact/$filename.o
+./ctc $1 out/artifact/$filename.asm
+nasm -f elf64 -o ./out/artifact/$filename.o ./out/artifact/$filename.asm
+gcc -o ./out/$filename ./out/artifact/$filename.o