From ea0a54398f8208310c18ff787fae91288306669f Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sun, 13 Jul 2025 19:21:41 +0800 Subject: [PATCH] Add bat and shell file for `rawstr4c` --- rawstr4c/bin/rawstr4c.bat | 21 +++++++++++++++++++++ rawstr4c/bin/rawstr4c.sh | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 rawstr4c/bin/rawstr4c.bat create mode 100644 rawstr4c/bin/rawstr4c.sh diff --git a/rawstr4c/bin/rawstr4c.bat b/rawstr4c/bin/rawstr4c.bat new file mode 100644 index 0000000..f29705a --- /dev/null +++ b/rawstr4c/bin/rawstr4c.bat @@ -0,0 +1,21 @@ +:: --------------------------------------------------------------- +:: File Name : rawstr4c.bat +:: File Authors : Aoran Zeng +:: Contributors : Nul None +:: Created On : <2025-07-13> +:: Last Modified : <2025-07-13> +:: +:: Run rawstr4c.raku script +:: +:: Usage: +:: +:: 用户必须在代码根目录中运行此文件 +:: +:: .\rawstr4c\bin\rawstr4c.bat [--debug] +:: +:: .\rawstr4c\bin\rawstr4c.bat [--debug] +:: --------------------------------------------------------------- + +@echo off +REM -I 选项必须在文件前面 +raku -I .\rawstr4c\lib .\rawstr4c\rawstr4c.raku %* diff --git a/rawstr4c/bin/rawstr4c.sh b/rawstr4c/bin/rawstr4c.sh new file mode 100644 index 0000000..9cb6271 --- /dev/null +++ b/rawstr4c/bin/rawstr4c.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# --------------------------------------------------------------- +# File Name : rawstr4c.sh +# File Authors : Aoran Zeng +# Contributors : Nul None +# Created On : <2025-07-13> +# Last Modified : <2025-07-13> +# +# Run rawstr4c.raku script +# +# Usage: +# +# 用户必须在代码根目录中运行此文件 +# +# ./rawstr4c/bin/rawstr4c.sh [--debug] +# +# ./rawstr4c/bin/rawstr4c.sh [--debug] +# --------------------------------------------------------------- + +# -I 选项必须在文件前面 +raku -I ./rawstr4c/lib ./rawstr4c/rawstr4c.raku "$@"