aoc_omni/haskell/bin/run

7 lines
114 B
Bash
Executable File

#!/usr/bin/env bash
year=$1
day=$2
ghc -o $year/$day/problem $year/$day/problem.hs && time ./$year/$day/problem