Add bat and shell file for rawstr4c

This commit is contained in:
Aoran Zeng 2025-07-13 19:21:41 +08:00
parent 88558af591
commit ea0a54398f
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 42 additions and 0 deletions

21
rawstr4c/bin/rawstr4c.bat Normal file
View File

@ -0,0 +1,21 @@
:: ---------------------------------------------------------------
:: File Name : rawstr4c.bat
:: File Authors : Aoran Zeng <ccmywish@qq.com>
:: Contributors : Nul None <nul@none.org>
:: Created On : <2025-07-13>
:: Last Modified : <2025-07-13>
::
:: Run rawstr4c.raku script
::
:: Usage:
::
:: 用户必须在代码根目录中运行此文件
::
:: .\rawstr4c\bin\rawstr4c.bat [--debug] <Markdown.md>
::
:: .\rawstr4c\bin\rawstr4c.bat [--debug] <Dir>
:: ---------------------------------------------------------------
@echo off
REM -I 选项必须在文件前面
raku -I .\rawstr4c\lib .\rawstr4c\rawstr4c.raku %*

21
rawstr4c/bin/rawstr4c.sh Normal file
View File

@ -0,0 +1,21 @@
#!/usr/bin/env bash
# ---------------------------------------------------------------
# File Name : rawstr4c.sh
# File Authors : Aoran Zeng <ccmywish@qq.com>
# Contributors : Nul None <nul@none.org>
# Created On : <2025-07-13>
# Last Modified : <2025-07-13>
#
# Run rawstr4c.raku script
#
# Usage:
#
# 用户必须在代码根目录中运行此文件
#
# ./rawstr4c/bin/rawstr4c.sh [--debug] <Markdown.md>
#
# ./rawstr4c/bin/rawstr4c.sh [--debug] <Dir>
# ---------------------------------------------------------------
# -I 选项必须在文件前面
raku -I ./rawstr4c/lib ./rawstr4c/rawstr4c.raku "$@"