mirror of
https://github.com/SikongJueluo/kubejs-utils.git
synced 2026-01-11 08:47:50 +08:00
chore(project): update justfile and envrc
This commit is contained in:
10
.justfile
10
.justfile
@@ -1,8 +1,12 @@
|
||||
log_dir := if os() == "linux" { "$LOG_DIR" } else { "$(cygpath -u $LOG_DIR)/" }
|
||||
kjs_dir := if os() == "linux" { "$KJS_DIR" } else { "$(cygpath -u $KJS_DIR)/" }
|
||||
pjs_dir := if os() == "linux" { "$PJS_DIR" } else { "$(cygpath -u $PJS_DIR)/" }
|
||||
|
||||
sync-js:
|
||||
rsync -av --delete -r --exclude=config --exclude=probe --exclude=*.txt ./src/ "$(cygpath -u $DST_KJS_DIR)/"
|
||||
rsync -av --delete -r --exclude=config --exclude=probe --exclude=*.txt ./src/ {{ kjs_dir }}
|
||||
|
||||
sync-logs:
|
||||
rsync -av --delete -r "$(cygpath -u $DST_LOG_DIR)/" ./logs/
|
||||
ln -s {{ log_dir }} ./logs
|
||||
|
||||
sync-types:
|
||||
rsync -av --delete -r "$(cygpath -u $DST_KJS_DIR)/probe" ./types/probe
|
||||
ln -s {{ pjs_dir }} ./types/probe
|
||||
|
||||
Reference in New Issue
Block a user