advent-23-racket/main.rkt
2024-10-26 14:34:43 -05:00

23 lines
397 B
Racket

#lang racket
; import all days
(require "src/day01.rkt")
(define (run-all)
(printf "Running all solutions\n")
(printf (string-append "Day 1 part 1: " (advent-of-code-01-p1))))
(define argv (current-command-line-arguments))
(define argc (vector-length argv))
; If no arguments are provided, run all solutions from all days
; on the real inputs
(when (= argc 0)
(run-all)
(exit 1))