mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-16 20:27:27 +08:00
Add rawstr4c
task
This commit is contained in:
parent
ea0a54398f
commit
e1a32fe044
10
Makefile
10
Makefile
@ -8,7 +8,7 @@
|
||||
# | sanchuanhehe <wyihe5520@gmail.com>
|
||||
# |
|
||||
# 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
|
||||
|
6
justfile
6
justfile
@ -7,7 +7,7 @@
|
||||
# Contributors : Nul None <nul@none.org>
|
||||
# |
|
||||
# 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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user