summaryrefslogtreecommitdiff
path: root/aoc
diff options
context:
space:
mode:
authorLizzy Hunt <lizzy.hunt@usu.edu>2023-12-01 16:05:44 -0700
committerLizzy Hunt <lizzy.hunt@usu.edu>2023-12-01 16:05:44 -0700
commit888cd821acc7582255320e0ddbddd2495e505cd4 (patch)
tree430ee27e7ee7476be5db930c0a93f61c60934c46 /aoc
parentcdb12dbc28cc441745bad55e384494bc8942586a (diff)
downloadaoc-888cd821acc7582255320e0ddbddd2495e505cd4.tar.gz
aoc-888cd821acc7582255320e0ddbddd2495e505cd4.zip
updates and test w/ day 01 2021
Diffstat (limited to 'aoc')
-rwxr-xr-xaoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/aoc b/aoc
index 4cda9ed..51e6da8 100755
--- a/aoc
+++ b/aoc
@@ -16,7 +16,7 @@ else
fi
exec_test() {
- bun test
+ bun test "example.test.ts"
}
exec_part() {
@@ -100,6 +100,7 @@ aoc() {
mkdir -p $curr
cp -r template/* $curr
+ cd $curr
get_problem_input $(get_aoc_cookie) $year $day $AOCINPUT
echo "Initialized $curr"
@@ -118,6 +119,7 @@ aoc() {
aoc init $year $day
fi
+ cd $curr
exec_test
fi