Move to run

This commit is contained in:
Aoran Zeng
2025-07-21 01:13:46 +08:00
parent cfea697870
commit cf6bf35af0
3 changed files with 15 additions and 15 deletions

24
tool/rawstr4c/run/run.bat Normal file
View File

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

24
tool/rawstr4c/run/run.ps1 Normal file
View File

@@ -0,0 +1,24 @@
# ---------------------------------------------------------------
# SPDX-License-Identifier: GPL-3.0-or-later
# ---------------------------------------------------------------
# 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-21>
#
# Run rawstr4c
#
# Usage:
#
# 用户必须在代码根目录中运行此文件
#
# $PREFIX\run\run.ps1 [--debug] <Markdown.md>
#
# $PREFIX\run\run.ps1 [--debug] <Dir>
# ---------------------------------------------------------------
$PREFIX = "tool/rawstr4c"
# -I 选项必须在文件前面
raku -I $PREFIX\lib $PREFIX\bin\rawstr4c $args

25
tool/rawstr4c/run/run.sh Normal file
View File

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