Move to tool

This commit is contained in:
Aoran Zeng 2025-07-13 19:53:19 +08:00
parent e1a32fe044
commit 7d7ff19d86
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
10 changed files with 18 additions and 13 deletions

View File

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

View File

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

View File

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