Move to tool

This commit is contained in:
Aoran Zeng
2025-07-13 19:53:19 +08:00
parent e1a32fe044
commit 7d7ff19d86
10 changed files with 18 additions and 13 deletions

22
tool/rawstr4c/bin/run.bat Normal file
View File

@@ -0,0 +1,22 @@
:: ---------------------------------------------------------------
:: File Name : run.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:
::
:: 用户必须在代码根目录中运行此文件
::
:: %PREFIX%\bin\run.bat [--debug] <Markdown.md>
::
:: %PREFIX%\bin\run.bat [--debug] <Dir>
:: ---------------------------------------------------------------
@echo off
set PREFIX=tool\rawstr4c
REM -I 选项必须在文件前面
raku -I %PREFIX%\lib %PREFIX%\rawstr4c.raku %*

22
tool/rawstr4c/bin/run.ps1 Normal file
View File

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

23
tool/rawstr4c/bin/run.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# ---------------------------------------------------------------
# File Name : run.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:
#
# 用户必须在代码根目录中运行此文件!
#
# $PREFIX/bin/run.sh [--debug] <Markdown.md>
#
# $PREFIX/bin/run.sh [--debug] <Dir>
# ---------------------------------------------------------------
PREFIX="tool/rawstr4c"
# -I 选项必须在文件前面
raku -I $PREFIX/lib $PREFIX/rawstr4c.raku "$@"