diff --git a/Makefile b/Makefile index 1be4a3e..e87f2c3 100755 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ # | sanchuanhehe # | # Created On : <2023-08-28> -# Last Modified : <2025-06-20> +# Last Modified : <2025-07-13> # # 请阅读 ./doc/01-Develop.md 来使用 # -------------------------------------------------------------- @@ -204,6 +204,12 @@ install: $(ReleaseMode-Target-Name) install -D -m 755 $(ReleaseMode-Target-Name) $(DESTDIR)/usr/bin/chsrc install -D -m 644 doc/chsrc.1 $(DESTDIR)/usr/share/man/man1/chsrc.1 +# 这样还是太麻烦,不用,我们还是靠 just 来调用吧 +# +# 通过 make rawstr4c ARGS="[--debug] Markdown.md" 来调用 +#rawstr4c: +# @bash ./tool/rawstr4c/bin/run.sh $(ARGS) + .PHONY: all b build bd br bcir d t check c \ build-in-dev-mode build-in-debug-mode build-in-release-mode build-in-ci-release-mode \ - debug test test-make-env test-xy test-fw fastcheck test-cli clean install build-deb clean-deb + debug test test-make-env test-xy test-fw fastcheck test-cli clean install build-deb clean-deb rawstr4c diff --git a/justfile b/justfile index 76c64b9..a3d6425 100644 --- a/justfile +++ b/justfile @@ -7,7 +7,7 @@ # Contributors : Nul None # | # Created On : <2025-06-18> -# Last Modified : <2025-06-20> +# Last Modified : <2025-07-13> # # 该文件主要用于在原生Windows上执行项目的基本任务,而不借助于 # GNU make 以及相应的 MSYS2、Cygwin 环境 @@ -145,3 +145,7 @@ clean: -@{{BIN_rm}} chsrc-debug -@{{BIN_rm}} chsrc-release -@{{BIN_rm}} README.md.bak* + +# 使用: just rawstr4c [--debug] Markdown.md +rawstr4c *args: + @{{ if os() == 'windows' { 'tool\\rawstr4c\\bin\\run.bat' } else { 'bash ./tool/rawstr4c/bin/run.sh' } }} {{args}}