move idris version to orig and newt version to src.

Development is being done on the newt version now.
This commit is contained in:
2025-02-15 16:36:29 -08:00
parent 829c5d5143
commit 3c2615ecc1
52 changed files with 86 additions and 22 deletions

View File

@@ -1,13 +1,14 @@
#!/bin/sh
mkdir -p tmp
echo "Test AoC 2024 solutions"
NCC="bun run newt.js"
total=0
failed=0
for fn in aoc2024/Day*.newt; do
total=$((total + 1))
echo Test $fn
bn=$(basename $fn)
./build/exec/newt $fn -o out.js > tmp/${bn}.compile
$NCC $fn -o out.js > tmp/${bn}.compile
if [ $? != "0" ]; then
echo Compile failed for $fn
failed=$((failed + 1))