mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-16 04:07:27 +08:00
Move to tool
This commit is contained in:
parent
e1a32fe044
commit
7d7ff19d86
@ -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 %*
|
@ -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
|
@ -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 "$@"
|
Loading…
x
Reference in New Issue
Block a user