From 39f84b8987498acc237aec8144431806eddfff49 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 12 Dec 2024 00:27:39 +0100 Subject: [PATCH] Add wrapper script for invoking Runic.main --- bin/runic | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/runic diff --git a/bin/runic b/bin/runic new file mode 100755 index 0000000..b829566 --- /dev/null +++ b/bin/runic @@ -0,0 +1,13 @@ +#!/bin/sh + +# A simple driver script for invoking Runic's main function. Put this script +# somewhere in PATH and make sure it is executable. The script expects Runic to +# be installed in the `@runic` shared environment and julia to be available in +# PATH. See installation instructions in the repository README for more +# details. +# +# Repository: https://github.com/fredrikekre/Runic.jl +# SPDX-License-Identifier: MIT + +export JULIA_LOAD_PATH="@runic" +exec julia --startup-file=no -e 'using Runic; exit(Runic.main(ARGS))' -- "$@"