summaryrefslogtreecommitdiff
path: root/tnslc/run.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/run.ps1')
-rw-r--r--tnslc/run.ps111
1 files changed, 0 insertions, 11 deletions
diff --git a/tnslc/run.ps1 b/tnslc/run.ps1
deleted file mode 100644
index b820fb4..0000000
--- a/tnslc/run.ps1
+++ /dev/null
@@ -1,11 +0,0 @@
-if ($args.Length -gt 0) {
- ..\tint.exe -flags "$args" -in tnslc.tnsl
- mkdir -Force build
- mkdir -Force build/artifacts
- mv -Force "$($args[0]).asm" "build/artifacts/$($args[0]).asm"
- nasm -f win64 -o "build/artifacts/$($args[0]).obj" "build/artifacts/$($args[0]).asm"
- gcc -o "build/$($args[0]).exe" "build/artifacts/$($args[0]).obj"
-} else {
- Write-Host "Usage: run [file to compile]";
- Write-Host "";
-}