Move to run

This commit is contained in:
Aoran Zeng 2025-07-21 01:13:46 +08:00
parent cfea697870
commit cf6bf35af0
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
3 changed files with 15 additions and 15 deletions

View File

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

View File

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

View File

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