mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-19 06:09:37 +08:00
Add bat and shell file for rawstr4c
This commit is contained in:
parent
88558af591
commit
ea0a54398f
21
rawstr4c/bin/rawstr4c.bat
Normal file
21
rawstr4c/bin/rawstr4c.bat
Normal file
@ -0,0 +1,21 @@
|
||||
:: ---------------------------------------------------------------
|
||||
:: File Name : rawstr4c.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:
|
||||
::
|
||||
:: 用户必须在代码根目录中运行此文件
|
||||
::
|
||||
:: .\rawstr4c\bin\rawstr4c.bat [--debug] <Markdown.md>
|
||||
::
|
||||
:: .\rawstr4c\bin\rawstr4c.bat [--debug] <Dir>
|
||||
:: ---------------------------------------------------------------
|
||||
|
||||
@echo off
|
||||
REM -I 选项必须在文件前面
|
||||
raku -I .\rawstr4c\lib .\rawstr4c\rawstr4c.raku %*
|
21
rawstr4c/bin/rawstr4c.sh
Normal file
21
rawstr4c/bin/rawstr4c.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# ---------------------------------------------------------------
|
||||
# File Name : rawstr4c.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:
|
||||
#
|
||||
# 用户必须在代码根目录中运行此文件
|
||||
#
|
||||
# ./rawstr4c/bin/rawstr4c.sh [--debug] <Markdown.md>
|
||||
#
|
||||
# ./rawstr4c/bin/rawstr4c.sh [--debug] <Dir>
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# -I 选项必须在文件前面
|
||||
raku -I ./rawstr4c/lib ./rawstr4c/rawstr4c.raku "$@"
|
Loading…
x
Reference in New Issue
Block a user