This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
misc-spare-change/kotlin_scripted.sh

11 lines
215 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# 2024-03-30 Hyperling
# Run the program as a shell language.
# Move to the file location.
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
cd $DIR
# Run the program.
kotlinc -script ./spare_change.kts